Wireshark mailing list archives
Re: [Wireshark-commits] rev 37602: /trunk/gtk/ /trunk/gtk/: iax2_analysis.c rtp_analysis.c
From: Guy Harris <guy () alum mit edu>
Date: Wed, 8 Jun 2011 01:42:34 -0700
On Jun 8, 2011, at 12:58 AM, Stig Bjørlykke wrote:
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
As the comment before those calls says: /* XXX: Should we be checking for write errors below ? */ The answer is "yes". ___________________________________________________________________________ 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:
- Re: [Wireshark-commits] rev 37602: /trunk/gtk/ /trunk/gtk/: iax2_analysis.c rtp_analysis.c Stig Bjørlykke (Jun 08)
- Re: [Wireshark-commits] rev 37602: /trunk/gtk/ /trunk/gtk/: iax2_analysis.c rtp_analysis.c Guy Harris (Jun 08)