cc1: warnings being treated as errors
../../gtk/sctp_graph_dlg.c: In function ‘draw_tsn_graph’:
../../gtk/sctp_graph_dlg.c:511: error: ‘cr’ may be used uninitialized in this function
../../gtk/sctp_graph_dlg.c: In function ‘draw_sack_graph’:
../../gtk/sctp_graph_dlg.c:163: error: ‘cr’ may be used uninitialized in this function
../../gtk/sctp_graph_dlg.c: In function ‘draw_nr_sack_graph’:
../../gtk/sctp_graph_dlg.c:341: error: ‘cr’ may be used uninitialized in this function
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38296
f5534014-38df-0310-8fa8-
9805f1628bb7
struct gaps *gap;
guint32 /*max_num,*/ diff;
guint32 *dup_list;
- cairo_t * cr;
+ cairo_t * cr = NULL;
if (u_data->dir==2)
{
guint32 /*max_num,*/ diff;
/* This holds the sum of gap acks and nr gap acks */
guint16 total_gaps = 0;
- cairo_t *cr;
+ cairo_t *cr = NULL;
if (u_data->dir==2)
{
guint32 tsnumber=0;
guint32 min_secs=0, diff;
gint xvalue, yvalue;
- cairo_t *cr;
+ cairo_t *cr = NULL;
if (u_data->dir==1)
{