Wireshark mailing list archives

Re: [Wireshark-commits] rev 37602: /trunk/gtk/ /trunk/gtk/: iax2_analysis.c rtp_analysis.c


From: Stig Bjørlykke <stig () bjorlykke org>
Date: Wed, 8 Jun 2011 09:58:57 +0200

On Wed, Jun 8, 2011 at 1:00 AM,  <wmeier () wireshark org> wrote:
Log:
 Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;

I get this on Ubuntu 11.04:

iax2_analysis.c: In function ‘copy_file’:
iax2_analysis.c:2183:22: error: ignoring return value of ‘write’,
declared with attribute warn_unused_result
iax2_analysis.c:2186:22: error: ignoring return value of ‘write’,
declared with attribute warn_unused_result
iax2_analysis.c:2189:22: error: ignoring return value of ‘write’,
declared with attribute warn_unused_result
iax2_analysis.c:2192:22: error: ignoring return value of ‘write’,
declared with attribute warn_unused_result
iax2_analysis.c:2195:22: error: ignoring return value of ‘write’,
declared with attribute warn_unused_result
iax2_analysis.c:2198:22: error: ignoring return value of ‘write’,
declared with attribute warn_unused_result


-- 
Stig Bjørlykke
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: