Hello Jonny, On 11 November 2014 at 23:27, Jonny Grant <jg@xxxxxxxx> wrote: > http://man7.org/linux/man-pages/man3/getopt.3.html > > Hello > > I noticed that "nsecs = 0;" is not needed in the getopt source code example. > > GCC gives warning about this variable being initialised. But it is used: printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind) Am I missing the point of your report? Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html