xdm: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Sun May 13 04:08:18 UTC 2018
xdm/auth.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit b6853380678b793bad81ac09b2f872f8225ccec6
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat May 5 12:28:27 2018 -0700
Add missing brackets to multi-statement if in SaveServerAuthorizations
Introduced by commit 5222d28e8d8e5b4cc
Reported by gcc 7.3:
auth.c: In function ‘SaveServerAuthorizations’:
auth.c:447:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (auths[i]->data_length > 0)
^~
auth.c:452:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
(void) fflush (auth_file);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Matthieu Herrb <matthieu at herrb.eu>
More information about the xorg-commit
mailing list