Actions
Bug #14780
closedIn function ‘tr_trans’: warning: unused variable ‘old’
Description
I get the following warnings when compiling string.c:
compiling string.c
string.c: In function ‘tr_trans’:
string.c:7038:10: warning: unused variable ‘old’ [-Wunused-variable]
size_t old = max + termlen;
^~~
string.c:7111:10: warning: unused variable ‘old’ [-Wunused-variable]
size_t old = max + termlen;
The reason seems to be that the newly introduced macro SIZED_REALLOC_N ignores its last parameter in some versions.
Actions
Like0
Like0Like0