summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2004-12-08 16:50:14 +0000
committerHartmut Brandt <harti@FreeBSD.org>2004-12-08 16:50:14 +0000
commit74c71bfc197138bc8813101a0bdc267f4c6f23ae (patch)
tree5fff4a82ea1095a7cce68971b25b54767959efc8
parent2e022816d8237c601f31cade24fa618594652f28 (diff)
Notes
-rw-r--r--usr.bin/make/lst.lib/lstDeQueue.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/make/lst.lib/lstDeQueue.c b/usr.bin/make/lst.lib/lstDeQueue.c
index 2e3bf839facf2..961411c9efedc 100644
--- a/usr.bin/make/lst.lib/lstDeQueue.c
+++ b/usr.bin/make/lst.lib/lstDeQueue.c
@@ -75,9 +75,6 @@ Lst_DeQueue(Lst *l)
}
rd = tln->datum;
- if (Lst_Remove(l, tln) == FAILURE) {
- return (NULL);
- } else {
- return (rd);
- }
+ Lst_Remove(l, tln);
+ return (rd);
}