Skip to content
Snippets Groups Projects
Commit e8fd5d80 authored by Yang Tse's avatar Yang Tse
Browse files

Fix compiler warning: ISO C90 forbids mixed declarations and code

parent 2f6dcaa6
No related branches found
No related tags found
No related merge requests found
......@@ -211,10 +211,10 @@ void *curl_dorealloc(void *ptr, size_t wantedsize,
{
struct memdebug *mem=NULL;
assert(wantedsize != 0);
size_t size = sizeof(struct memdebug)+wantedsize;
assert(wantedsize != 0);
if(countcheck("realloc", line, source))
return NULL;
......
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