Task #1026 - perl-TermReadKey-2.38-22.fc41/scan-results.err

back to task #1026
download
Error: CPPCHECK_WARNING:
perl-TermReadKey-2.38-build/TermReadKey-2.38/ReadKey.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
perl-TermReadKey-2.38-build/TermReadKey-2.38/ReadKey.xs:845:3: warning[deadcode.DeadStores]: Value stored to 'oldmode' is never read
#  843|   		if(!(temp=hv_fetch(modehash,(char*)&handle,sizeof(int),0))) 
#  844|   			croak("Unable to retrieve stashed terminal mode.\n");
#  845|-> 		oldmode=SvIV(*temp);
#  846|   	}
#  847|   

Error: COMPILER_WARNING (CWE-758):
perl-TermReadKey-2.38-build/TermReadKey-2.38/ReadKey.xs: scope_hint: In function ‘selectfile’
perl-TermReadKey-2.38-build/TermReadKey-2.38/ReadKey.xs:1482:28: warning[-Wrestrict]: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4
# 1482 |         if(select(handle+1,(Select_fd_set_t)&fd,
#      |                            ^~~~~~~~~~~~~~~~~~~~
# 1483 |                            (Select_fd_set_t)0,
# 1484 |                            (Select_fd_set_t)&fd, &t)) return -1;
#      |                            ~~~~~~~~~~~~~~~~~~~~
# 1480|   	FD_ZERO(&fd);
# 1481|   	FD_SET(handle,&fd);
# 1482|-> 	if(select(handle+1,(Select_fd_set_t)&fd,
# 1483|   			   (Select_fd_set_t)0,
# 1484|   			   (Select_fd_set_t)&fd, &t)) return -1; 

Error: COMPILER_WARNING:
perl-TermReadKey-2.38-build/TermReadKey-2.38/ReadKey.xs:7: included_from: Included from here.
perl-TermReadKey-2.38-build/TermReadKey-2.38/ppport.h:4385:10: warning: "WIDEST_UTYPE" redefined
/usr/lib64/perl5/CORE/perl.h:3329: included_from: Included from here.
perl-TermReadKey-2.38-build/TermReadKey-2.38/ReadKey.xs:5: included_from: Included from here.
/usr/lib64/perl5/CORE/handy.h:1422:9: note: this is the location of the previous definition
# 4383|   
# 4384|   #ifdef HAS_QUAD
# 4385|-> # define WIDEST_UTYPE U64TYPE
# 4386|   #else
# 4387|   # define WIDEST_UTYPE U32

Error: COMPILER_WARNING (CWE-563):
perl-TermReadKey-2.38-build/TermReadKey-2.38/tmp66.c:2:27: warning[-Wunused-variable]: unused variable ‘s’