diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-12-13 09:10:35 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-12-13 09:10:35 +0000 |
commit | 9792fe5d7989a14e07e1efe349df95a7cf49d3f2 (patch) | |
tree | 700192f92e12283c0f9f4571fcfce0adcaeddf93 | |
parent | ecbca40104d4925d1dec75d6e16d88de6cd4bc5e (diff) |
"Fix"
/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
-rw-r--r-- | ui/qt/sctp_graph_byte_dialog.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/qt/sctp_graph_byte_dialog.cpp b/ui/qt/sctp_graph_byte_dialog.cpp index 0574150010..4e462adc7c 100644 --- a/ui/qt/sctp_graph_byte_dialog.cpp +++ b/ui/qt/sctp_graph_byte_dialog.cpp @@ -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); } |