xpr: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sat May 5 19:52:44 UTC 2018


 x2jet.c |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

New commits:
commit ce80499aa7cadb253a815673bf6934df8132990a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat May 5 12:49:40 2018 -0700

    Standardize indentation in validate_visual()
    
    Fixes gcc 7.3 warnings:
    x2jet.c: In function ‘validate_visual’:
    x2jet.c:1057:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (depth > 8)  invalid_depth_for_visual(depth, "GrayScale");    break;
         ^~
    x2jet.c:1057:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (depth > 8)  invalid_depth_for_visual(depth, "GrayScale");    break;
                                                                          ^~~~~
    x2jet.c:1059:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (depth > 8)  invalid_depth_for_visual(depth, "StaticGray");   break;
         ^~
    x2jet.c:1059:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (depth > 8)  invalid_depth_for_visual(depth, "StaticGray");   break;
                                                                          ^~~~~
    x2jet.c:1061:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (depth > 8)  invalid_depth_for_visual(depth, "PseudoColor");  break;
         ^~
    x2jet.c:1061:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (depth > 8)  invalid_depth_for_visual(depth, "PseudoColor");  break;
                                                                          ^~~~~
    x2jet.c:1063:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (depth > 8)  invalid_depth_for_visual(depth, "StaticColor");  break;
         ^~
    x2jet.c:1063:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (depth > 8)  invalid_depth_for_visual(depth, "StaticColor");  break;
                                                                          ^~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list