Home page logo
/

wireshark logo Wireshark mailing list archives

Re: [Wireshark-commits] rev 51476: /trunk/ /trunk/: dumpcap.c
From: Дмитрий Дьяченко <dimhen () gmail com>
Date: Fri, 23 Aug 2013 22:14:46 +0400

2013/8/22  <martink () wireshark org>:
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 () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
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


  By Date           By Thread  

Current thread:
  • Re: [Wireshark-commits] rev 51476: /trunk/ /trunk/: dumpcap.c Дмитрий Дьяченко (Aug 23)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]