xmore: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Oct 1 17:47:51 UTC 2023


 README.md    |    2 +-
 configure.ac |    2 +-
 xmore.c      |   16 ++++++----------
 3 files changed, 8 insertions(+), 12 deletions(-)

New commits:
commit 80cfd749eb786776713d9004d28cc184b32c5380
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Sep 26 17:54:22 2023 -0700

    Fix spelling/wording issues
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 133e08eb45fcff0c8d39e38babb979e1f1c0c2e3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Sep 26 17:47:35 2023 -0700

    Handle clang -Wunused-parameter warnings
    
    xmore.c:117:31: warning: unused parameter 'event' [-Wunused-parameter]
    quitAction(Widget w,  XEvent *event, String *params, Cardinal *num_params)
                                  ^
    xmore.c:117:46: warning: unused parameter 'params' [-Wunused-parameter]
    quitAction(Widget w,  XEvent *event, String *params, Cardinal *num_params)
                                                 ^
    xmore.c:117:64: warning: unused parameter 'num_params' [-Wunused-parameter]
    quitAction(Widget w,  XEvent *event, String *params, Cardinal *num_params)
                                                                   ^
    xmore.c:123:32: warning: unused parameter 'client_data' [-Wunused-parameter]
    quitXtProc(Widget w, XtPointer client_data, XtPointer callData)
                                   ^
    xmore.c:123:55: warning: unused parameter 'callData' [-Wunused-parameter]
    quitXtProc(Widget w, XtPointer client_data, XtPointer callData)
                                                          ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 88ec82664a95715bf6958462ad810e2da077394c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Sep 26 17:40:32 2023 -0700

    Handle clang -Wunused-macros warnings
    
      xmore.c:55:9: warning: macro is not used [-Wunused-macros]
      #define Error(x) { printf x ; exit(EXIT_FAILURE); }
              ^
      xmore.c:56:9: warning: macro is not used [-Wunused-macros]
      #define Assertion(expr, msg) { if (!(expr)) { Error msg } }
              ^
      xmore.c:53:9: warning: macro is not used [-Wunused-macros]
      #define NULLSTR(x) (((x)!=NULL)?(x):(""))
              ^
      xmore.c:57:9: warning: macro is not used [-Wunused-macros]
      #define Log(x)   { if (userOptions.verbose) printf x; }
              ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 38c72bc8abf651cbc0ebffcc0d0da10d0bcaf7a5
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Sep 26 17:32:10 2023 -0700

    Handle clang -Wmissing-noreturn warning
    
    xmore.c:137:1: warning: function 'usage' could be declared with
      attribute 'noreturn' [-Wmissing-noreturn]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list