Skip to content
Snippets Groups Projects
Commit 6f25d31e authored by Aaron Brashears's avatar Aaron Brashears
Browse files

revert revision 113792. wrong branch

parent 30d5d834
No related branches found
No related tags found
No related merge requests found
...@@ -108,12 +108,6 @@ void LLSDMessageReader::getBinaryData(const char *block, const char *var, ...@@ -108,12 +108,6 @@ void LLSDMessageReader::getBinaryData(const char *block, const char *var,
data_size = max_size; data_size = max_size;
} }
// Calls to memcpy will fail if data_size is not positive.
// Phoenix 2009-02-27
if(data_size <= 0)
{
return;
}
memcpy(datap, &(data[0]), data_size); memcpy(datap, &(data[0]), data_size);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment