coverity 170

remove some dead code



svn path=/trunk/; revision=18575
This commit is contained in:
Ronnie Sahlberg 2006-06-26 08:47:26 +00:00
parent 846331e8a6
commit 372ff9cad8
1 changed files with 0 additions and 13 deletions

13
file.c
View File

@ -1520,19 +1520,6 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item,
have to select the first displayed frame after the selected
frame. */
selected_row = following_row;
} else {
/* Choose the closer of the last displayed frame before the
selected frame and the first displayed frame after the
selected frame; in case of a tie, choose the first displayed
frame after the selected frame. */
if (following_frame->num - selected_frame->num <=
selected_frame->num - preceding_frame->num) {
selected_row = following_row;
} else {
/* The previous frame is closer to the selected frame than the
next frame. */
selected_row = preceding_row;
}
}
}
}