ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 37602: /trunk/gtk/ /trunk/gtk/: iax2

From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Wed, 8 Jun 2011 09:58:57 +0200
On Wed, Jun 8, 2011 at 1:00 AM,  <wmeier@xxxxxxxxxxxxx> 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