[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1 |
Date: |
Tue, 23 Jan 2018 11:08:33 +0000 |
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] Announcing the second release candidate of nmh 1.7.1, Ken Hornstein, 2018/01/22
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Andy Bradford, 2018/01/23
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Andy Bradford, 2018/01/23
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Ralph Corderoy, 2018/01/23
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, David Levine, 2018/01/23
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Ralph Corderoy, 2018/01/23
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Andy Bradford, 2018/01/24
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Ralph Corderoy, 2018/01/24
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Ralph Corderoy, 2018/01/25
- Message not available
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, David Levine, 2018/01/24
- Re: [Nmh-workers] Announcing the second release candidate of nmh 1.7.1, Ralph Corderoy, 2018/01/23