[pisa-src] Re: r1819 - in trunk: libpisa/util.c libpisa/util.h pisacd/cdmain.c pisasd/sdmain.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 26 Nov 2009 16:41:13 +0100

On Thu, Nov 26, 2009 at 04:31:15PM +0100, Diego Biurrun wrote:
 
> This produces the following warning:
> 
> libpisa/util.c: In function ‘pisa_create_lock_file’:
> libpisa/util.c:283: error: ignoring return value of ‘read’, declared with 
> attribute warn_unused_result
> libpisa/util.c:290: error: ignoring return value of ‘write’, declared with 
> attribute warn_unused_result

gcc 4.4.1 on fedora 11 does not complain for some reason. Fixed in 1823.

-- 
Thomas Jansen, "Mithi" --- mithi@xxxxxxxxx
GPG 9D5C682B, feel free to sign or encrypt your mail

Other related posts: