diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 14:39:54 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 14:39:54 -0800 |
commit | a7db7b1385ece9c10ad1d7c13d9c842b52a39002 (patch) | |
tree | ac01a844b897a8e2366858257ade53a059a8df25 /xvinfo.c | |
parent | 8afa791dd265d64f425ff7f3c32a16c291e3bb7b (diff) |
add explicit braces to clarify which if the else goes with
Suggested by clang:
xvinfo.c:125:25: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
else
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xvinfo.c')
-rw-r--r-- | xvinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -118,12 +118,13 @@ main(int argc, char *argv[]) attributes[k].name, attributes[k].min_value, attributes[k].max_value); - if (attributes[k].flags & XvSettable) + if (attributes[k].flags & XvSettable) { if (!shortmode) fprintf(stdout, " client settable attribute\n"); else fprintf(stdout, " settable"); + } if (attributes[k].flags & XvGettable) { Atom the_atom; |