xdriinfo: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Dec 15 16:36:57 UTC 2022
.gitlab-ci.yml | 4 ++--
xdriinfo.c | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
New commits:
commit c311687d90564f670e1ec943371c5cab4711f3e3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Dec 8 14:47:33 2022 -0800
Ensure screenNum is always initialized
Clears this warning from clang, even though it seems like a
false positive, as all the uses are behind the same conditions:
xdriinfo.c:117:27: warning: variable 'screenNum' may be uninitialized
when used here [-Wconditional-uninitialized]
if (func == DRIVER && screenNum == -1) {
^~~~~~~~~
xdriinfo.c:61:28: note: initialize the variable 'screenNum' to silence
this warning
int nScreens, screenNum;
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit a318124b38bbfac36f6bfe537839b0d3a9065b94
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Dec 8 14:45:02 2022 -0800
Variable scope reduction
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 710f7c9e9fad765bfe4c31071a82460c473abee7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Jul 28 17:30:21 2022 -0700
gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list