summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/pkghash.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-05-04 09:39:34 +0200
committerAllan McRae <allan@archlinux.org>2016-05-05 05:52:23 +0200
commit3729ef7a9acf75080fb6f60d13ea80cfd36d855d (patch)
tree4b2959aa37fde5700a8b5437ec9a3d8b4b917cae /lib/libalpm/pkghash.h
parentb012da645e14e5f79968d6670dcc5e51232c4adb (diff)
downloadpacman-3729ef7a9acf75080fb6f60d13ea80cfd36d855d.tar.gz
pacman-3729ef7a9acf75080fb6f60d13ea80cfd36d855d.tar.xz
Avoid logical OR duplication warning from gcc-6
The value EAGAIN is allowed by POSIX to be the same as EWOULDBLOCK, but this is not guaranteed. Thus on some systems (e.g. glibc Linux), we get a warning that the logical OR is being performed on two expressions of the same type. We can not get rid of this test in case any system defines these as unique values. Suggested-by: Dave Reisner Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/pkghash.h')
0 files changed, 0 insertions, 0 deletions