Snippets for 3proxy 0.9.7 from Fedora x86_64
Sourced from https://kojipkgs.fedoraproject.org/packages/3proxy/0.9.7/2.fc45/data/logs/x86_64/build.log.
-
acl.c:97:10: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 97 | for (portentry = acentry->ports; portentry; portentry = portentry->next) | ^~~ -
acl.c:109:10: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 109 | for(periodentry = acentry->periods; periodentry; periodentry = periodentry -> next) | ^~~ -
hashtables.c:29:9: warning: unused variable ‘len’ [-Wunused-variable] 29 | int len = 0, oplen = 0, acllen = 0, ulen = 0, plen = 0, hlen = 0, a1len = 0, a2len = 0, a3len = 0, p1len=0, p2len = 0; | ^~~ -
hashtables.c:74:13: warning: ‘udpparam2hash’ defined but not used [-Wunused-function] 74 | static void udpparam2hash(const struct hashtable *ht, void *index, uint8_t *hash){ | ^~~~~~~~~~~~~ -
/usr/include/bits/stdio2.h:30:10: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -
hash.c:39:13: warning: variable ‘c’ set but not used [-Wunused-but-set-variable=] 39 | clock_t c; | ^ -
hash.c:172:9: warning: unused variable ‘overwrite’ [-Wunused-variable] 172 | int overwrite = 0; | ^~~~~~~~~ -
auth.c:111:16: warning: unused variable ‘tmp’ [-Wunused-variable] 111 | char * tmp; | ^~~ -
auth.c:220:21: warning: unused variable ‘dummy’ [-Wunused-variable] 220 | static char dummy; | ^~~~~ -
common.c:135:24: warning: missing braces around initializer [-Wmissing-braces] 135 | struct extparam conf = { | ^ -
authradius.c:328:18: warning: variable ‘vendor_len’ set but not used [-Wunused-but-set-variable=] 328 | uint8_t *vendor_len; | ^~~~~~~~~~ -
authradius.c:321:13: warning: unused variable ‘op’ [-Wunused-variable] 321 | int op; | ^~ -
socks.c:56:6: warning: unused variable ‘len’ [-Wunused-variable] 56 | int len; | ^~~ -
datatypes.c:65:13: warning: ‘pr_ip6’ defined but not used [-Wunused-function] 65 | static void pr_ip6(struct node *node, CBFUNC cbf, void*cb){ | ^~~~~~ -
sockmap.c:357:35: warning: unused variable ‘len’ [-Wunused-variable] 357 | socklen_t len=sizeof(error); | ^~~ -
sockmap.c:399:35: warning: unused variable ‘len’ [-Wunused-variable] 399 | socklen_t len=sizeof(error); | ^~~ -
sockmap.c:56:17: warning: unused variable ‘fdsp’ [-Wunused-variable] 56 | struct pollfd *fdsp = fds; | ^~~~ -
sockmap.c:51:42: warning: unused variable ‘FROMSERVERBUF’ [-Wunused-variable] 51 | FROMSERVER = 1, TOSERVERBUF = 1, FROMSERVERBUF = 1, TOCLIENT = 1; | ^~~~~~~~~~~~~ -
sockmap.c:50:39: warning: unused variable ‘FROMCLIENTBUF’ [-Wunused-variable] 50 | int FROMCLIENT = 1, TOCLIENTBUF = 1, FROMCLIENTBUF = 1, TOSERVER = 1, | ^~~~~~~~~~~~~ -
smtpp.c:47:6: warning: unused variable ‘res’ [-Wunused-variable] 47 | int res, i, bufsize = 320; | ^~~ -
smtpp.c:73:6: warning: unused variable ‘res’ [-Wunused-variable] 73 | int res, i, bufsize = 4096; | ^~~ -
conf.c:506:17: warning: unused variable ‘dummy’ [-Wunused-variable] 506 | static char dummy; | ^~~~~ -
proxy.c:448:66: warning: value computed is not used [-Wunused-value] 448 | (se = (unsigned char *)strchr((char *)sb, '\r')) || (se = (unsigned char *)strchr((char *)sb, '\n')); | ^~ -
proxy.c:671:29: warning: variable ‘spaces’ set but not used [-Wunused-but-set-variable=] 671 | int spaces = 1; | ^~~~~~ -
proxy.c:249:15: warning: variable ‘reqbufsize’ set but not used [-Wunused-but-set-variable=] 249 | int reqsize, reqbufsize; | ^~~~~~~~~~ -
proxy.c:247:6: warning: variable ‘anonymous’ set but not used [-Wunused-but-set-variable=] 247 | int anonymous; | ^~~~~~~~~ -
transparent_plugin.c:39:13: warning: unused variable ‘i’ [-Wunused-variable] 39 | int i=0; | ^ -
FilePlugin.c:264:19: warning: ‘fp_connect’ defined but not used [-Wunused-function] 264 | static int WINAPI fp_connect(SOCKET s, const struct sockaddr *name, fp_size_t namelen){ | ^~~~~~~~~~ -
FilePlugin.c:55:12: warning: ‘timeo’ defined but not used [-Wunused-variable] 55 | static int timeo = 0; | ^~~~~