diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/graph_analysis.c | 2 | ||||
-rw-r--r-- | gtk/tcp_graph.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk/graph_analysis.c b/gtk/graph_analysis.c index 9ead7cdbb8..f5c9e1c421 100644 --- a/gtk/graph_analysis.c +++ b/gtk/graph_analysis.c @@ -286,7 +286,7 @@ static gboolean dialog_graph_dump_to_file(graph_analysis_data_t* user_data) guint32 start_position, end_position, item_width, header_length; guint32 current_item; graph_analysis_item_t *gai; - guint16 first_conv_num; + guint16 first_conv_num = 0; gboolean several_convs = FALSE; gboolean first_packet = TRUE; 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; |