diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-11-04 10:39:54 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-11-06 14:18:58 -0800 |
commit | 568f31aefd6e060779572c1fe593519714f0d50b (patch) | |
tree | 531316d1776a40ca4a9524716946527e1c636eaf /list.h | |
parent | fa682decde0b4513f5ce6084df590107359158f5 (diff) |
mkfontscale.c: handle -Wshadow warnings from gcc
mkfontscale.c: In function ‘doDirectory’:
mkfontscale.c:810:66: warning: declaration of ‘encodingsToDo’ shadows a global declaration [-Wshadow]
810 | doDirectory(const char *dirname_given, int numEncodings, ListPtr encodingsToDo)
| ~~~~~~~~^~~~~~~~~~~~~
mkfontscale.c:117:16: note: shadowed declaration is here
117 | static ListPtr encodingsToDo;
| ^~~~~~~~~~~~~
mkfontscale.c: In function ‘readEncodings’:
mkfontscale.c:1353:23: warning: declaration of ‘encodings’ shadows a global declaration [-Wshadow]
1353 | readEncodings(ListPtr encodings, char *dirname)
| ~~~~~~~~^~~~~~~~~
mkfontscale.c:93:21: note: shadowed declaration is here
93 | static ConstListPtr encodings, extra_encodings;
| ^~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'list.h')
0 files changed, 0 insertions, 0 deletions