On Sun, 6 Mar 2016 07:47:38 +0100
[email protected] wrote:

Hey Roberto,

> > -   if (argc > 1) {
> > +   if (argc) {
> >             fprintf(stderr, "usage: %s\n", argv0);
> >             return 1;
> >     }

> recommendation about style; Use argc == 0 here and use the form
> without relational operator for logic or pointers values.

You know how it is with style, but I respect your opinion on this
matter as a senior programmer.
I was wondering, don't you mean "argc != 0"? :)

Cheers

FRIGN

-- 
FRIGN <[email protected]>

Reply via email to