Wireshark-commits: Re: [Wireshark-commits] rev 51476: /trunk/ /trunk/: dumpcap.c

From: Дмитрий Дьяченко <dimhen@xxxxxxxxx>
Date: Fri, 23 Aug 2013 22:14:46 +0400
2013/8/22  <martink@xxxxxxxxxxxxx>:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51476
>
> User: martink
> Date: 2013/08/22 11:49 AM
>
> Log:
>  fix compiler warning on Debian wheezy (gcc 4.7.2)
>
>  dumpcap.c:193:10: error: ignoring return value of ‘write’, declared with
>  attribute warn_unused_result [-Werror=unused-result]
>
>  for some reason, using (void)write(fd, ...) did not do the trick

Hi!

-Wno-unused-result ?

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509

Dmitry

>
> Directory: /trunk/
>   Changes    Path          Action
>   +2 -1      dumpcap.c     Modified
>
> ___________________________________________________________________________
> Sent via:    Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-commits
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
>              mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe