diff options
author | harti <harti@FreeBSD.org> | 2005-02-10 14:25:12 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-10 14:25:12 +0000 |
commit | ac0decfad836cbb3a2d603729867489c63230548 (patch) | |
tree | 59ff1c12fdf35c06cc9f6f25fbad8441b9ef1422 /usr.bin/make | |
parent | 93d5e4d56e122a9bb0b241cd0eea6bd5491a6d32 (diff) | |
download | FreeBSD-src-ac0decfad836cbb3a2d603729867489c63230548.zip FreeBSD-src-ac0decfad836cbb3a2d603729867489c63230548.tar.gz |
Lst_Append returns void, so the other case of the ? statement
should also be void.
Submitted by: stefanf
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/lst.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/lst.h b/usr.bin/make/lst.h index 2aa0676..3ec17f1 100644 --- a/usr.bin/make/lst.h +++ b/usr.bin/make/lst.h @@ -175,7 +175,7 @@ void Lst_ForEachFrom(Lst *, LstNode *, DoProc *, void *); /* Place an element at tail of queue */ #define Lst_EnQueue(LST, D) (Lst_Valid(LST) \ ? Lst_Append((LST), Lst_Last(LST), (D)) \ - : FAILURE) + : (void)0) /* Remove an element from head of queue */ void *Lst_DeQueue(Lst *); |