Remove pointless register specifier and warning.
This commit is contained in:
parent
e735d4035f
commit
dbc2f59453
@ -105,7 +105,7 @@ void Mootcher::ensureWorkingDir ()
|
|||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
size_t Mootcher::WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data)
|
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;
|
struct MemoryStruct *mem = (struct MemoryStruct *)data;
|
||||||
|
|
||||||
mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);
|
mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user