[libxshmfence PATCH] Check return value from ftruncate

Keith Packard keithp at keithp.com
Tue Dec 3 15:13:50 PST 2013


Julien Cristau <jcristau at debian.org> writes:

> Silences compiler warning:
>
> xshmfence_alloc.c: In function 'xshmfence_alloc_shm':
> xshmfence_alloc.c:54:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
>   ftruncate(fd, sizeof (struct xshmfence));
>            ^
>
> Signed-off-by: Julien Cristau <jcristau at debian.org>

Merged.
   e8dd66f..ca4ef28  master -> master

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131203/dc6616be/attachment.pgp>


More information about the xorg-devel mailing list