Commit b7aed55
committed
dump: fix "Defect type: IDENTICAL_BRANCHES"
Static code analysis reported:
criu/cr-dump.c:2328:2: identical_branches: The same code is executed
when the condition "ret" is true or false, because the code in the
if-then branch and after the if statement is identical. Should the if
statement be removed?
This is a fix for the warning.
Signed-off-by: Adrian Reber <areber@redhat.com>1 parent 2cf8f13 commit b7aed55
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2329 | 2329 | | |
2330 | 2330 | | |
2331 | 2331 | | |
2332 | | - | |
2333 | | - | |
2334 | 2332 | | |
2335 | 2333 | | |
2336 | 2334 | | |
| |||
0 commit comments