summaryrefslogtreecommitdiff
path: root/gtk/proto_draw.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-10-27 20:18:50 +0000
committerGuy Harris <guy@alum.mit.edu>2005-10-27 20:18:50 +0000
commiteb7e8111c675f167306b28462577550ac3678db2 (patch)
tree96740dae1bc6cd95ddaec44b38899702970ead84 /gtk/proto_draw.c
parent6ed8c9a07bc42d2d5ca8ce2d5382bbaa5c2e5c29 (diff)
downloadwireshark-eb7e8111c675f167306b28462577550ac3678db2.tar.gz
Fix uninitialized variable errors.
Rename some variables to make the names used in progress bars more common. (Should more of that functionality be moved into common progress bar code?) svn path=/trunk/; revision=16347
Diffstat (limited to 'gtk/proto_draw.c')
-rw-r--r--gtk/proto_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c
index 36a4468d92..8cb6bf513d 100644
--- a/gtk/proto_draw.c
+++ b/gtk/proto_draw.c
@@ -1075,6 +1075,8 @@ packet_hex_print_common(GtkTextView *bv, const guint8 *pd, int len, int bstart,
/* When we reach the value that triggers a progress bar update,
bump that value by this amount. */
progbar_quantum = len/N_PROGBAR_UPDATES;
+ /* Progress so far. */
+ progbar_val = 0.0;
progbar_stop_flag = FALSE;
g_get_current_time(&progbar_start_time);