-
Type: Bug
-
Resolution: Fixed
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
None
Test always evaluates the same
Defect 100080 (STATIC_C)
Checker DEADCODE (subcategory redundant_test)
File: /src/jsonsl/jsonsl.c
Function jsonsl_jpr_new
/src/jsonsl/jsonsl.c, line: 929
Condition "pathret > 0", taking true branch. Now the value of "pathret" is at least 1.
/src/jsonsl/jsonsl.c, line: 927
At condition "pathret > 0", the value of "pathret" must be at least 1.
/src/jsonsl/jsonsl.c, line: 925
Assigning: "pathret" = "JSONSL_PATH_STRING".
/src/jsonsl/jsonsl.c, line: 927
The condition "pathret > 0" must be true.