Re: bgplg: an array is never NULL

2017-07-27 Thread Sebastian Benoit
Florian Obser(flor...@openbsd.org) on 2017.07.27 19:51:38 +: > ... pointed out by clang > > OK? ok benno@ > diff --git usr.bin/bgplg/misc.c usr.bin/bgplg/misc.c > index 38837cc88c8..1834f38fa0d 100644 > --- usr.bin/bgplg/misc.c > +++ usr.bin/bgplg/misc.c > @@ -51,7 +51,7 @@ lg_checkperm(str

bgplg: an array is never NULL

2017-07-27 Thread Florian Obser
... pointed out by clang OK? diff --git usr.bin/bgplg/misc.c usr.bin/bgplg/misc.c index 38837cc88c8..1834f38fa0d 100644 --- usr.bin/bgplg/misc.c +++ usr.bin/bgplg/misc.c @@ -51,7 +51,7 @@ lg_checkperm(struct cmd *cmd) struct stat stbuf; /* No external command to execute, this is