diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-02-19 10:26:21 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-02-19 10:26:21 +0000 |
commit | 8c6bda4db510b1f360d879ef7d4732babd6ba660 (patch) | |
tree | 1ade8ad61b571354291d9cbe9ec747c1fba14e9c /gtk/tcp_graph.c | |
parent | 1401a27b06ef8607de97ba0f593a1abe8249acfc (diff) | |
download | wireshark-8c6bda4db510b1f360d879ef7d4732babd6ba660.tar.gz wireshark-8c6bda4db510b1f360d879ef7d4732babd6ba660.tar.bz2 wireshark-8c6bda4db510b1f360d879ef7d4732babd6ba660.zip |
Squelch a couple (false) uninitialized variable warnings
svn path=/trunk/; revision=20858
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r-- | gtk/tcp_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 7bb12badc3..3be6140edf 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -3510,8 +3510,8 @@ static void tseq_tcptrace_make_elmtlist (struct graph *g) struct element *elements0, *e0; /* list of elmts with prio 0 */ struct element *elements1, *e1; /* list of elmts with prio 1 */ double x0, y0; - double p_t; /* ackno, window and time of previous segment */ - double p_ackno, p_win; + double p_t = 0; /* ackno, window and time of previous segment */ + double p_ackno = 0, p_win = 0; gboolean ack_seen=FALSE; int toggle=0; guint32 seq_base; |