/home/jmayer/work/wireshark/svn/trunk/ui/qt/sctp_graph_byte_dialog.cpp:36:13: error: variable ‘minBytes’ set but not used [-Werror=unused-but-set-variable]
     guint32 minBytes, maxBytes;
             ^
cc1plus: all warnings being treated as errors


svn path=/trunk/; revision=54030
This commit is contained in:
Jörg Mayer 2013-12-13 09:10:35 +00:00
parent ecbca40104
commit 9792fe5d79
1 changed files with 4 additions and 3 deletions

View File

@ -33,15 +33,16 @@ void SCTPGraphByteDialog::drawBytesGraph()
GList *listTSN = NULL,*tlist;
tsn_t *tsn;
guint8 type;
guint32 minBytes, maxBytes;
guint32 maxBytes;
// guint32 minBytes, maxBytes;
long sumBytes = 0;
// printf("drawBytesGraph\n");
if (direction == 1) {
minBytes = 0; //selected_assoc->min_tsn1;
//minBytes = 0; //selected_assoc->min_tsn1;
maxBytes = selected_assoc->n_data_bytes_ep1;
listTSN = g_list_last(selected_assoc->tsn1);
} else {
minBytes = 0; //selected_assoc->min_tsn2;
//minBytes = 0; //selected_assoc->min_tsn2;
maxBytes = selected_assoc->n_data_bytes_ep2;
listTSN = g_list_last(selected_assoc->tsn2);
}