git: ed(1): Fix [-Werror=logical-not-parentheses]

John Marino marino at
Tue Feb 10 01:55:26 PST 2015

commit 1fff89cbaeaa43af720a1f23d9c466b756dd8a58
Author: John Marino <draco at>
Date:   Tue Feb 10 10:51:33 2015 +0100

    ed(1): Fix [-Werror=logical-not-parentheses]
    /usr/src/bin/ed/glbl.c:64:36: error: logical not is only applied to the
    left hand side of comparison [-Werror=logical-not-parentheses]
    Putting parenthese around the comparison makes gcc happy.

Summary of changes:
 bin/ed/glbl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list