SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #199325

Back to the previous page... Back to the previous page

Test Case IDCandidate199325
Bad / Good / MixedBadBad test case
AuthorToyota ITC
Good pair: 199326  
Test suite: 104  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -I ../../../shared/104 unused_var.c unused_var_main.c -lm -lpthread
Submission date2016-07-22
DescriptionDefect Type: Inappropriate code
Defect Sub-type: Unused variable
Description: Defect Code to identify the unused variable in a function

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-563: Assignment to Variable without Use ('Unused Variable') on line(s): 23, 41, 77, 90, 103, 117, 151