[Bugs] [Bug 1009076] Many warnings about unused results on F19 with current git head

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 11 10:50:49 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1009076



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9078 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 98f82412986339626bcd1218ff1da0fbb2664d6d
Author: Niels de Vos <ndevos at redhat.com>
Date:   Sat Nov 8 09:47:10 2014 +0100

    store: fix compile warning in gf_store_unlock()

    The following warning is logged when building on Fedora 20:

      store.c:712:15: warning: ignoring return value of 'lockf', declared
      with attribute warn_unused_result [-Wunused-result]

    It does not really matter if unlocking fails, close() will release the
    lock in any case. But, log the error in case close() can not finish and
    hangs indefinitely (is that possible?).

    Change-Id: If6c832f9aec10da6c1adb761b13b58e22d38a065
    BUG: 1009076
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/9078
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=lmexSEAp0d&a=cc_unsubscribe


More information about the Bugs mailing list