Skip to content

Commit

Permalink
dump: remove dead code
Browse files Browse the repository at this point in the history
CID 190175 (#1 of 1): Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach this statement: goto err;.

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
  • Loading branch information
avagin committed May 17, 2018
1 parent f381a43 commit 26359e7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions criu/cr-dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,9 +1483,6 @@ static int cr_pre_dump_finish(int ret)

timing_stop(TIME_FROZEN);

if (ret < 0)
goto err;

pr_info("Pre-dumping tasks' memory\n");
for_each_pstree_item(item) {
struct parasite_ctl *ctl = dmpi(item)->parasite_ctl;
Expand Down

0 comments on commit 26359e7

Please sign in to comment.