xscope: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Nov 16 20:44:59 UTC 2024
fd.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 9d5faa5a1a18f86e6efc69e4db5f019aa59ecac6
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 15:48:40 2024 -0800
InitializeFD: only define "i" if we're going to use it
If we're using closefrom, then we don't use i to loop through the fd's.
Found by clang 13.0.1:
fd.c:91:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
Fixes: 59ee902 ("Use closefrom() if available")
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/xscope/-/merge_requests/13>
More information about the xorg-commit
mailing list