mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:07:17 +03:00
Fix compiler warning: ISO C90 forbids mixed declarations and code
This commit is contained in:
parent
2f6dcaa644
commit
e8fd5d8062
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue