diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-06-29 21:58:57 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-06-29 21:58:57 +0000 |
commit | a5e8bb116c32ba8ab8e73e363e5b3b311d8ea647 (patch) | |
tree | 23c580d5b3c3e29df233e1bf5ac439ff44ff15b8 /file.c | |
parent | e66457472d52fc96a1b5d3c30beed4b07f14fe8b (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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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); |