Commit e8fd5d80 authored by Yang Tse's avatar Yang Tse
Browse files

Fix compiler warning: ISO C90 forbids mixed declarations and code

parent 2f6dcaa6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;