Task #119494 - added.err

back to task #119494
download
Error: COMPILER_WARNING (CWE-563):
tmux-3.6b/image.c: scope_hint: In function ‘image_free’
tmux-3.6b/image.c:33:26: warning[-Wunused-variable]: unused variable ‘s’
#   33 |         struct screen   *s = im->s;
#      |                          ^
#   31|   image_free(struct image *im)
#   32|   {
#   33|-> 	struct screen	*s = im->s;
#   34|   
#   35|   	TAILQ_REMOVE(&all_images, im, all_entry);

Error: COMPILER_WARNING (CWE-252):
tmux-3.6b/spawn.c: scope_hint: In function ‘spawn_pane’
tmux-3.6b/spawn.c:404:25: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
#  404 |                         chdir("/");
#      |                         ^~~~~~~~~~
#  402|   		    chdir(path) != 0 &&
#  403|   		    (home == NULL || chdir(home) != 0))
#  404|-> 			chdir("/");
#  405|   		goto complete;
#  406|   	}