mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Fix compiler warning: ISO C90 forbids mixed declarations and code
This commit is contained in:
parent
2f6dcaa644
commit
e8fd5d8062
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user