diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-03-16 20:51:25 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-07-02 19:07:45 -0300 |
commit | 614563884d2b19e514af233089e392127c4f4027 (patch) | |
tree | 12bf9a1c1de59421d81b920cb99539acc2b3fac1 /lisp/core.c | |
parent | 60643e8f0dcd86e65400160c0a6e264e7a2a081c (diff) |
Compile warning fixes.
Add parenthesis around a test where after macro expansion it looked like
boolexpr==boolres==boolres.
"Ansifiy" a function without arguments.
Diffstat (limited to 'lisp/core.c')
-rw-r--r-- | lisp/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/core.c b/lisp/core.c index 9077dc5..89f5d5c 100644 --- a/lisp/core.c +++ b/lisp/core.c @@ -3242,7 +3242,7 @@ Lisp_Member(LispBuiltin *builtin) } else { for (; CONSP(list); list = CDR(list)) - if (FCOMPARE(lambda, item, CAR(list), code) == expect) + if ((FCOMPARE(lambda, item, CAR(list), code)) == expect) return (list); } } @@ -3255,7 +3255,7 @@ Lisp_Member(LispBuiltin *builtin) else { for (; CONSP(list); list = CDR(list)) { compare = APPLY1(key, CAR(list)); - if (FCOMPARE(lambda, item, compare, code) == expect) + if ((FCOMPARE(lambda, item, compare, code)) == expect) return (list); } } |