Snippets for jed 0.99.19 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/jed/0.99.19/37.fc45/data/logs/i686/build.log.
-
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/buffer.c:454:14: warning: ‘strncpy’ output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 454 | strncpy (buf + 1, (char *)p, pmax - p); | ^ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/cmds.c:1054:30: warning: variable ‘pmax’ set but not used [-Wunused-but-set-variable=] 1054 | unsigned char *p, *pmin, *pmax; | ^~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/misc.c:657:36: warning: passing argument 3 of ‘SLvsnprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 657 | SLvsnprintf (buf, sizeof (buf), fmt, ap); | ^~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/unix.c:759:21: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 759 | (void) chown(file, buf.st_uid, *gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/sysdep.c:181:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 181 | fgets(buf, 9 ,stdin); | ^~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/paste.c:40:17: warning: variable ‘n’ set but not used [-Wunused-but-set-variable=] 40 | unsigned int n; | ^ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/paste.c:897:19: warning: variable ‘tmpm’ set but not used [-Wunused-but-set-variable=] 897 | int c1, n, c2, tmpm; | ^~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/indent.c:197:16: warning: variable ‘cc’ set but not used [-Wunused-but-set-variable=] 197 | int quote, cc, flags; | ^~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/indent.c:631:35: warning: variable ‘sgml_stop_char’ set but not used [-Wunused-but-set-variable=] 631 | unsigned char sgml_start_char, sgml_stop_char; | ^~~~~~~~~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/indent.c:631:18: warning: variable ‘sgml_start_char’ set but not used [-Wunused-but-set-variable=] 631 | unsigned char sgml_start_char, sgml_stop_char; | ^~~~~~~~~~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/indent.c:625:31: warning: variable ‘in_html’ set but not used [-Wunused-but-set-variable=] 625 | int in_string, in_comment, in_html, level; | ^~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/pty.c:163:16: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 163 | (void) chown (slave_name, getuid (), gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/jprocess.c:486:36: warning: ‘return_status’ may be used uninitialized [-Wmaybe-uninitialized] 486 | p->return_status = return_status; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/menu.c:1546:9: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1546 | strncpy (s, parent->name, len); | ^ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/selinux.c:81:9: warning: ‘matchpathcon’ is deprecated: Use selabel_lookup instead [-Wdeprecated-declarations] 81 | if (matchpathcon(file,0,&scontext)) { | ^~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/selinux.c:151:1: warning: ‘output_security_context’ defined but not used [-Wunused-function] 151 | output_security_context(char *from_file) | ^~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/jed-0.99.19-build/jed-0.99-19/src/selinux.c:132:1: warning: ‘reset_default_security_context’ defined but not used [-Wunused-function] 132 | reset_default_security_context() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~