mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
XQuartz: Silence clang warnings about shadow declarations
X11Application.m:1272:26: warning: declaration shadows a local variable [-Wshadow,Semantic Issue]
xp_error e;
^
X11Application.m:1098:36: note: previous declaration is here
- (void) sendX11NSEvent:(NSEvent *)e {
^
1 warning generated.
bundle-main.c:648:36: warning: declaration shadows a local variable [-Wshadow,Semantic Issue]
int max_files, i;
^
bundle-main.c:594:9: note: previous declaration is here
int i;
^
1 warning generated.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
96ac4e61f4
commit
7413886d65
2 changed files with 4 additions and 4 deletions
|
|
@ -645,7 +645,7 @@ int main(int argc, char **argv, char **envp) {
|
|||
child2 = fork();
|
||||
|
||||
switch (child2) {
|
||||
int max_files, i;
|
||||
int max_files;
|
||||
|
||||
case -1: /* error */
|
||||
FatalError("fork() failed: %s\n", strerror(errno));
|
||||
|
|
|
|||
Loading…
Reference in a new issue