Make Ubuntu Buildbot happy
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 17 Dec 2013 18:43:34 +0000 (18:43 +0000)
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 17 Dec 2013 18:43:34 +0000 (18:43 +0000)
Fix following error:
../../../ui/qt/sctp_chunk_statistics_dialog.cpp: In member function ‘void SCTPChunkStatisticsDialog::fillTable(bool)’:
../../../ui/qt/sctp_chunk_statistics_dialog.cpp:145:29: error: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Werror=unused-result]

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54188 f5534014-38df-0310-8fa8-9805f1628bb7

ui/qt/sctp_chunk_statistics_dialog.cpp

index c1a97259550e7e339af11d5f20cb9f625494a779..a12c6f7ed45ba005080d555de59ea864c0ea0282 100644 (file)
@@ -142,7 +142,7 @@ void SCTPChunkStatisticsDialog::fillTable(bool all)
         int i = 0, j = 0;
         struct chunkTypes temp;
 
-        fgets(line, cap, fp);
+//        fgets(line, cap, fp);
         while (fgets(line, cap, fp)) {
             token = strtok(line, ",");
             /* Get rid of the quotation marks */