aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-06-29 21:58:57 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-06-29 21:58:57 +0000
commita5e8bb116c32ba8ab8e73e363e5b3b311d8ea647 (patch)
tree23c580d5b3c3e29df233e1bf5ac439ff44ff15b8 /file.c
parente66457472d52fc96a1b5d3c30beed4b07f14fe8b (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=50232
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/file.c b/file.c
index 8e4984038b..9874e3559d 100644
--- a/file.c
+++ b/file.c
@@ -605,8 +605,6 @@ cf_read(capture_file *cf, gboolean reloading)
progbar_quantum = MIN_QUANTUM;
}else
progbar_quantum = 0;
- /* Progress so far. */
- progbar_val = 0.0f;
while ((wtap_read(cf->wth, &err, &err_info, &data_offset))) {
if (size >= 0) {
@@ -4205,8 +4203,6 @@ rescan_file(capture_file *cf, const char *fname, gboolean is_tempfile, int *err)
progbar_quantum = MIN_QUANTUM;
}else
progbar_quantum = 0;
- /* Progress so far. */
- progbar_val = 0.0f;
stop_flag = FALSE;
g_get_current_time(&start_time);