diff options
author | Allan McRae <allan@archlinux.org> | 2016-05-04 17:39:34 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-05-05 13:52:23 +1000 |
commit | 3729ef7a9acf75080fb6f60d13ea80cfd36d855d (patch) | |
tree | 4b2959aa37fde5700a8b5437ec9a3d8b4b917cae /lib/libalpm/filelist.c | |
parent | b012da645e14e5f79968d6670dcc5e51232c4adb (diff) |
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/filelist.c')
0 files changed, 0 insertions, 0 deletions