Suggested by clang:
xvinfo.c:125:25: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
else
^
Change-Id: I4539a8d3115a21eef9400873d25c46088c85ab90
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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;