summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/regex/t_exhaust.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-04 00:34:45 +0000
committerngie <ngie@FreeBSD.org>2016-05-04 00:34:45 +0000
commit7c09989b4a2d725ebdfe49bf490d0a74c88106ba (patch)
treefaecbe2f95458b92c2b537102487d4a0fa4982d2 /contrib/netbsd-tests/lib/libc/regex/t_exhaust.c
parent544322815d0c34f76ef163914c5abeb7a04058ba (diff)
downloadFreeBSD-src-7c09989b4a2d725ebdfe49bf490d0a74c88106ba.zip
FreeBSD-src-7c09989b4a2d725ebdfe49bf490d0a74c88106ba.tar.gz
MFC r298450:
Simplify always evaluated branch (`e != NULL`) - xalloc(..) ensures that e will be non-null via malloc + err. - `e` is already dereferenced above, so logically it's impossible to hit the lower test without crashing if it was indeed NULL. CID: 1007408
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/t_exhaust.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud