Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/chku.c: In function ‘main’:
- src/chku.c:40:14: warning: unused variable ‘aur’ [-Wunused-variable]
- 40 | int aur = isaur(os_name);
- | ^~~
- src/chku.c: In function ‘listguestupd’:
- src/chku.c:107:18: warning: unused variable ‘g’ [-Wunused-variable]
- 107 | int ret1 = 0, g = 0, b = 255, u = 0;
- | ^
- src/chku.c:106:28: warning: unused variable ‘fb’ [-Wunused-variable]
- 106 | char *temp, *guest_os, *fb;
- | ^~
- In file included from src/chku.c:7:
- src/chku.h: At top level:
- src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
- 61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
- | ^~~~~~~~~
- src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
- 123 | static int copy_data(struct archive *ar, struct archive *aw);
- | ^~~~~~~~~
- src/confreader.c: In function ‘foundconf’:
- src/confreader.c:15:8: warning: unused variable ‘l’ [-Wunused-variable]
- 15 | int l;
- | ^
- src/confreader.c: In function ‘read_conf’:
- src/confreader.c:53:8: warning: unused variable ‘a’ [-Wunused-variable]
- 53 | int a = 0;
- | ^
- In file included from src/network.c:5:
- src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
- 123 | static int copy_data(struct archive *ar, struct archive *aw);
- | ^~~~~~~~~
- src/os.c: In function ‘freebsdlatest’:
- src/os.c:476:15: warning: unused variable ‘temp1’ [-Wunused-variable]
- 476 | char temp, temp1;
- | ^~~~~
- src/os.c:476:9: warning: unused variable ‘temp’ [-Wunused-variable]
- 476 | char temp, temp1;
- | ^~~~
- src/os.c: In function ‘openbsdlatest’:
- src/os.c:608:15: warning: unused variable ‘temp1’ [-Wunused-variable]
- 608 | char temp, temp1;
- | ^~~~~
- src/os.c:608:9: warning: unused variable ‘temp’ [-Wunused-variable]
- 608 | char temp, temp1;
- | ^~~~
- In file included from src/os.c:16:
- src/chku.h: At top level:
- src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
- 61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
- | ^~~~~~~~~
- src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
- 123 | static int copy_data(struct archive *ar, struct archive *aw);
- | ^~~~~~~~~
- src/os.c: In function ‘pkgpattern’:
- src/os.c:409:11: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
- 409 | return ret;
- | ^~~
- src/os.c:380:10: note: ‘ret’ was declared here
- 380 | char *ret;
- | ^~~
- src/os.c: In function ‘pkgdbpath’:
- src/os.c:431:7: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
- 431 | if (ret) { return ret; }
- | ^
- src/os.c:413:10: note: ‘ret’ was declared here
- 413 | char *ret;
- | ^~~
- src/os.c: In function ‘isbranched’:
- src/os.c:695:11: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
- 695 | return ret;
- | ^~~
- src/os.c:644:10: note: ‘ret’ was declared here
- 644 | char *ret;
- | ^~~
- In file included from src/stringhandler.c:8:
- src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
- 61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
- | ^~~~~~~~~
- src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
- 123 | static int copy_data(struct archive *ar, struct archive *aw);
- | ^~~~~~~~~
- src/stringhandler.c: In function ‘append’:
- src/stringhandler.c:38:11: warning: using a dangling pointer to ‘buff’ [-Wdangling-pointer=]
- 38 | return res;
- | ^~~
- src/stringhandler.c:28:9: note: ‘buff’ declared here
- 28 | char buff[50];
- | ^~~~
- src/stringhandler.c: In function ‘reject’:
- src/stringhandler.c:52:11: warning: using a dangling pointer to ‘buff’ [-Wdangling-pointer=]
- 52 | return res;
- | ^~~
- src/stringhandler.c:42:9: note: ‘buff’ declared here
- 42 | char buff[50];
- | ^~~~
- In file included from src/file.c:8:
- src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
- 61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
- | ^~~~~~~~~
- In file included from src/remoterepo.c:5:
- src/chku.h:61:15: warning: ‘readtomem’ declared ‘static’ but never defined [-Wunused-function]
- 61 | static size_t readtomem(void *contents, size_t size, size_t nmemb, void *stream);
- | ^~~~~~~~~
- src/chku.h:123:12: warning: ‘copy_data’ declared ‘static’ but never defined [-Wunused-function]
- 123 | static int copy_data(struct archive *ar, struct archive *aw);
- | ^~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement