Skip to content
Snippets Groups Projects
  1. Nov 11, 2024
  2. Feb 19, 2024
  3. Feb 17, 2024
  4. Oct 03, 2023
  5. Sep 22, 2023
  6. Sep 06, 2023
  7. May 20, 2023
  8. Apr 22, 2023
  9. Apr 17, 2023
  10. Mar 28, 2023
  11. Feb 12, 2023
    • Alan Coopersmith's avatar
      parse.c: remove unused function xstrlcpy() · 92030dd4
      Alan Coopersmith authored
      
      parse.c:74:1: warning: unused function 'xstrlcpy' [-Wunused-function]
      xstrlcpy(char *dst, const char *src, size_t dstsize)
      ^
      
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      92030dd4
    • Alan Coopersmith's avatar
      parse.c: Wrap FREE_CIDX definition in do { ... } while(0) · 8e0e6351
      Alan Coopersmith authored
      
      Makes it match the definition in create.c and eliminates
      clang warnings:
      
      create.c:2409:13: warning: empty expression statement has no effect;
       remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
                              FREE_CIDX;
                                       ^
      create.c:2440:17: warning: empty expression statement has no effect;
       remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
                                  FREE_CIDX;
                                           ^
      create.c:2444:13: warning: empty expression statement has no effect;
       remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
                              FREE_CIDX;
                                       ^
      create.c:2449:15: warning: empty expression statement has no effect;
       remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
                  FREE_CIDX;
                           ^
      
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      8e0e6351
    • Alan Coopersmith's avatar
      XpmCreateDataFromXpmImage: Fix misleading indentation · 25616112
      Alan Coopersmith authored
      
      CrDatFrI.c: In function ‘XpmCreateDataFromXpmImage’:
      CrDatFrI.c:245:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
        245 |             if (header[l])
            |             ^~
      In file included from CrDatFrI.c:40:
      XpmI.h:80:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         80 | #define XpmFree(ptr) free(ptr)
            |                      ^~~~
      CrDatFrI.c:247:17: note: in expansion of macro ‘XpmFree’
        247 |                 XpmFree(header);
            |                 ^~~~~~~
      CrDatFrI.c: In function ‘CreateColors’:
      
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      25616112
    • Alan Coopersmith's avatar
      Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL · 45d8f4f2
      Alan Coopersmith authored
      
      AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
      so it's time to rely on it.
      
      configure.ac:14: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
      configure.ac:14: You should run autoupdate.
      m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
      configure.ac:14: the top level
      
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      45d8f4f2
  12. Feb 05, 2023
  13. Jan 23, 2023
  14. Jan 19, 2023
  15. Jan 18, 2023
  16. Jan 17, 2023
  17. Jan 16, 2023
  18. Jan 12, 2023
Loading