Florian Obser(flor...@openbsd.org) on 2017.07.27 19:51:38 +0000:
> ... 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(struct cmd *cmd)
>       struct stat stbuf;
>  
>       /* No external command to execute, this is always valid */
> -     if (cmd->earg == NULL || cmd->earg[0] == NULL)
> +     if (cmd->earg[0] == NULL)
>               return (1);
>  
>       /*
> 
> -- 
> I'm not entirely sure you are real.
> 

Reply via email to