Advertisement
kikadf

chku,Wall

Sep 15th, 2023
638
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 5.22 KB | None | 0 0
  1. src/chku.c: In function ‘main’:
  2. src/chku.c:40:14: warning: unused variable ‘aur’ [-Wunused-variable]
  3.    40 |          int aur = isaur(os_name);
  4.       |              ^~~
  5. src/chku.c: In function ‘listguestupd’:
  6. src/chku.c:107:18: warning: unused variable ‘g’ [-Wunused-variable]
  7.   107 |    int ret1 = 0, g = 0, b = 255, u = 0;
  8.       |                  ^
  9. src/chku.c:106:28: warning: unused variable ‘fb’ [-Wunused-variable]
  10.   106 |    char *temp, *guest_os, *fb;
  11.       |                            ^~
  12. In file included from src/chku.c:7:
  13. src/chku.h: At top level:
  14. src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
  15.    61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
  16.       |               ^~~~~~~~~
  17. src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
  18.   123 | static int copy_data(struct archive *ar, struct archive *aw);
  19.       |            ^~~~~~~~~
  20. src/confreader.c: In function ‘foundconf’:
  21. src/confreader.c:15:8: warning: unused variable ‘l’ [-Wunused-variable]
  22.    15 |    int l;
  23.       |        ^
  24. src/confreader.c: In function ‘read_conf’:
  25. src/confreader.c:53:8: warning: unused variable ‘a’ [-Wunused-variable]
  26.    53 |    int a = 0;
  27.       |        ^
  28. In file included from src/network.c:5:
  29. src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
  30.   123 | static int copy_data(struct archive *ar, struct archive *aw);
  31.       |            ^~~~~~~~~
  32. src/os.c: In function ‘freebsdlatest’:
  33. src/os.c:476:15: warning: unused variable ‘temp1’ [-Wunused-variable]
  34.   476 |    char temp, temp1;
  35.       |               ^~~~~
  36. src/os.c:476:9: warning: unused variable ‘temp’ [-Wunused-variable]
  37.   476 |    char temp, temp1;
  38.       |         ^~~~
  39. src/os.c: In function ‘openbsdlatest’:
  40. src/os.c:608:15: warning: unused variable ‘temp1’ [-Wunused-variable]
  41.   608 |    char temp, temp1;
  42.       |               ^~~~~
  43. src/os.c:608:9: warning: unused variable ‘temp’ [-Wunused-variable]
  44.   608 |    char temp, temp1;
  45.       |         ^~~~
  46. In file included from src/os.c:16:
  47. src/chku.h: At top level:
  48. src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
  49.    61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
  50.       |               ^~~~~~~~~
  51. src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
  52.   123 | static int copy_data(struct archive *ar, struct archive *aw);
  53.       |            ^~~~~~~~~
  54. src/os.c: In function ‘pkgpattern’:
  55. src/os.c:409:11: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
  56.   409 |    return ret;
  57.       |           ^~~
  58. src/os.c:380:10: note: ‘ret’ was declared here
  59.   380 |    char *ret;
  60.       |          ^~~
  61. src/os.c: In function ‘pkgdbpath’:
  62. src/os.c:431:7: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
  63.   431 |    if (ret) { return ret; }
  64.       |       ^
  65. src/os.c:413:10: note: ‘ret’ was declared here
  66.   413 |    char *ret;
  67.       |          ^~~
  68. src/os.c: In function ‘isbranched’:
  69. src/os.c:695:11: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
  70.   695 |    return ret;
  71.       |           ^~~
  72. src/os.c:644:10: note: ‘ret’ was declared here
  73.   644 |    char *ret;
  74.       |          ^~~
  75. In file included from src/stringhandler.c:8:
  76. src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
  77.    61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
  78.       |               ^~~~~~~~~
  79. src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
  80.   123 | static int copy_data(struct archive *ar, struct archive *aw);
  81.       |            ^~~~~~~~~
  82. src/stringhandler.c: In function ‘append’:
  83. src/stringhandler.c:38:11: warning: using a dangling pointer to ‘buff’ [-Wdangling-pointer=]
  84.    38 |    return res;
  85.       |           ^~~
  86. src/stringhandler.c:28:9: note: ‘buff’ declared here
  87.    28 |    char buff[50];
  88.       |         ^~~~
  89. src/stringhandler.c: In function ‘reject’:
  90. src/stringhandler.c:52:11: warning: using a dangling pointer to ‘buff’ [-Wdangling-pointer=]
  91.    52 |    return res;
  92.       |           ^~~
  93. src/stringhandler.c:42:9: note: ‘buff’ declared here
  94.    42 |    char buff[50];
  95.       |         ^~~~
  96. In file included from src/file.c:8:
  97. src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
  98.    61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
  99.       |               ^~~~~~~~~
  100. In file included from src/remoterepo.c:5:
  101. src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
  102.    61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
  103.       |               ^~~~~~~~~
  104. src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
  105.   123 | static int copy_data(struct archive *ar, struct archive *aw);
  106.       |            ^~~~~~~~~
  107.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement