summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/hcreate.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-11-19 07:47:37 +0000
committerdim <dim@FreeBSD.org>2014-11-19 07:47:37 +0000
commite01441233cff1888f405055f30a1d00a326cf57b (patch)
treef8977063d742d051b6dc2ff6f0cf44c76422bd9f /lib/libc/stdlib/hcreate.c
parentf38628840cd05515326dff20b71bf5c470d2a420 (diff)
downloadFreeBSD-src-e01441233cff1888f405055f30a1d00a326cf57b.zip
FreeBSD-src-e01441233cff1888f405055f30a1d00a326cf57b.tar.gz
Fix the following -Werror warning from clang 3.5.0, while building
lib/libngatm: sys/contrib/ngatm/netnatm/saal/saal_sscop.c:4030:32: error: 'break' is bound to current loop, GCC binds it to the enclosing loop [-Werror,-Wgcc-compat] } while(sn < sscop->vr_h && !QFIND(&sscop->rbuf, sn)); ^ sys/contrib/ngatm/netnatm/saal/saal_sscop.c:173:4: note: expanded from macro 'QFIND' break; \ ^ 1 error generated. The idea is to remove any ambiguity by replacing the macro with an equivalent static inline function. Reviewed by: emaste, rpaulo See also: http://reviews.llvm.org/D2518 Differential Revision: https://reviews.freebsd.org/D1188
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud