Neil Blakey-Milner <[EMAIL PROTECTED]> writes:
> On Fri 1999-09-17 (18:21), Gregory Bond wrote:
> > I'm looking at cleaning up a few compile nits and I'm wondering what the
> > officially approved way of silencing "may not be used" warnings:
> >
> > int
> > foo(int flag)
> > {
> > int j;
On Fri 1999-09-17 (18:21), Gregory Bond wrote:
> I'm looking at cleaning up a few compile nits and I'm wondering what the
> officially approved way of silencing "may not be used" warnings:
>
> int
> foo(int flag)
> {
> int j;
j = 0;
> if (flag)
> j = 1;
>
Gregory Bond writes:
> Us humans can see that j is not used without being set, but cc can't. How do
> I
> remove this warning in a style(9)-compatible way?
Initialize j.
DES
--
Dag-Erling Smorgrav - d...@flood.ping.uio.no
To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe
On Fri 1999-09-17 (18:21), Gregory Bond wrote:
> I'm looking at cleaning up a few compile nits and I'm wondering what the
> officially approved way of silencing "may not be used" warnings:
>
> int
> foo(int flag)
> {
> int j;
j = 0;
> if (flag)
> j = 1;
>
Gregory Bond <[EMAIL PROTECTED]> writes:
> Us humans can see that j is not used without being set, but cc can't. How do I
> remove this warning in a style(9)-compatible way?
Initialize j.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsu
> I'm looking at cleaning up a few compile nits and I'm wondering what the
> officially approved way of silencing "may not be used" warnings:
>
> int
> foo(int flag)
> {
> int j;
>
> if (flag)
> j = 1;
>
> /*
> * This noop statement is enough to
> I'm looking at cleaning up a few compile nits and I'm wondering what the
> officially approved way of silencing "may not be used" warnings:
>
> int
> foo(int flag)
> {
> int j;
>
> if (flag)
> j = 1;
>
> /*
> * This noop statement is enough t
7 matches
Mail list logo