diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-10-27 20:18:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-10-27 20:18:50 +0000 |
commit | eb7e8111c675f167306b28462577550ac3678db2 (patch) | |
tree | 96740dae1bc6cd95ddaec44b38899702970ead84 /gtk/proto_draw.c | |
parent | 6ed8c9a07bc42d2d5ca8ce2d5382bbaa5c2e5c29 (diff) | |
download | wireshark-eb7e8111c675f167306b28462577550ac3678db2.tar.gz wireshark-eb7e8111c675f167306b28462577550ac3678db2.tar.bz2 wireshark-eb7e8111c675f167306b28462577550ac3678db2.zip |
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.c | 2 |
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); |