Snippets for gtk-gnutella 1.3.1 from Fedora x86_64
Sourced from https://kojipkgs.fedoraproject.org/packages/gtk-gnutella/1.3.1/2.fc45/data/logs/x86_64/build.log.
-
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ -
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ -
bsearch.c:99:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | found = bsearch(key, base, count, size, cmp); | ^ -
pattern.c:2254:24: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2254 | return strstr(haystack + 1, needle); | ^~~~~~ -
pattern.c:2438:24: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2438 | return strstr(haystack, cpat->pattern); | ^~~~~~ -
pattern.c:2454:24: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2454 | return strstr(haystack, cpat->pattern); | ^~~~~~ -
pattern.c:3103:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3103 | return strstr(haystack, needle); | ^~~~~~ -
pattern.c:3128:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3128 | return strstr(haystack, needle); | ^~~~~~ -
re.c:19060:25: warning: ‘nw’ may be used uninitialized [-Wmaybe-uninitialized]
-
../casts.h:177:16: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized] 177 | return ulong_to_pointer(value); | ^~~~~~~~~~~~~~~~~~~~~~~ -
str_subst_re.c:1249:25: warning: ‘rlen’ may be used uninitialized [-Wmaybe-uninitialized] 1249 | str_replace_len(s, gpos[0].re_start, POS_LEN(gpos[0]), repl, rlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
thread.c:1215:21: warning: storing the address of local variable ‘te’ in ‘te.44_48->last_sp’ [-Wdangling-pointer=] 1215 | te->last_sp = &te; | ~~~~~~~~~~~~^~~~~ -
trie.c:1183:25: warning: ‘pathlen’ may be used uninitialized [-Wmaybe-uninitialized] 1183 | str_setlen(ctx->path, pathlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
fileinfo.c:4565:13: warning: variable ‘n’ set but not used [-Wunused-but-set-variable=] 4565 | int n, againcount = 0; | ^ -
search.c:1478:27: warning: variable ‘has_tth’ set but not used [-Wunused-but-set-variable=] 1478 | uint8 has_ct = 0, has_tth = 0, has_xml = 0, expected_xml = 0; | ^~~~~~~ -
gwc.c:299:13: warning: variable ‘line’ set but not used [-Wunused-but-set-variable=] 299 | int line, idx; | ^~~~ -
random.c:102:56: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter=] 102 | shell_exec_random_stats(struct gnutella_shell *sh, int argc, const char *argv[]) | ~~~~^~~~ -
loose.c:138:41: warning: variable ‘processed’ set but not used [-Wunused-but-set-variable=] 138 | size_t kept = 0, restarted = 0, processed = 0; | ^~~~~~~~~ -
filter_cb.c:253:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 253 | } else | ^~~~ -
filter_core.c:2439:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2439 | if (GUI_PROPERTY(gui_debug) >= 5) | ^~ -
search_xml.c:807:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 807 | if (r->u.sha1.hash != NULL) | ^~ -
spopen-test.c:313:21: warning: variable ‘verb’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 313 | const char *verb = verbose ? ",verb" : ""; | ^~~~ -
dbt.c:486:13: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable=] 486 | int flags = 0; | ^~~~~