13
0

Remove pointless register specifier and warning.

This commit is contained in:
David Robillard 2014-12-27 14:03:36 -05:00
parent e735d4035f
commit dbc2f59453

View File

@ -105,7 +105,7 @@ void Mootcher::ensureWorkingDir ()
//------------------------------------------------------------------------
size_t Mootcher::WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data)
{
register int realsize = (int)(size * nmemb);
int realsize = (int)(size * nmemb);
struct MemoryStruct *mem = (struct MemoryStruct *)data;
mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);