Hi Andy,
uip/fmttest.c: In function 'main':
uip/fmttest.c:123: warning: 'outputsize' may be used uninitialized in this
function
Looks like this one will require even more investigation to
discover whether the warning is just a red herring or not.
It is. Summarising the flow:
bool outputsize_given = false;
int outputsize;
switch {
case ...:
outputsize_given = true;
if (...)
outputsize = INT_MAX;
else if (...)
outputsize = sc_width();
else
outputsize = atoi(cp);
}
if (!outputsize_given) {
outputsize = ...;
}
And from then on they're all reads.
Again, no warning from cc here.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
--
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers