diff options
author | René Scharfe <l.s.r@web.de> | 2019-08-07 15:08:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-07 11:54:45 -0700 |
commit | c9b9c09dae175f75bed4363cc6278c3f0cb3b9dd (patch) | |
tree | 1c551f2d388884847cd56f1adaaa42d5cef718d3 /templates/.gitignore | |
parent | mingw: allow building with an MSYS2 runtime v3.x (diff) | |
download | tgif-c9b9c09dae175f75bed4363cc6278c3f0cb3b9dd.tar.xz |
nedmalloc: do assignments only after the declaration section
Avoid the following compiler warning:
In file included from compat/nedmalloc/nedmalloc.c:63:
compat/nedmalloc/malloc.c.h: In function ‘pthread_release_lock’:
compat/nedmalloc/malloc.c.h:1759:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
1759 | volatile unsigned int* lp = &sl->l;
| ^~~~~~~~
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/.gitignore')
0 files changed, 0 insertions, 0 deletions