Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2320) compiler warning in server/unithand.c
Home

[Freeciv-Dev] Re: (PR#2320) compiler warning in server/unithand.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2320) compiler warning in server/unithand.c
From: "Gregory Berkolaiko via RT" <rt@xxxxxxxxxxxxxx>
Date: Wed, 13 Nov 2002 03:00:40 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, 12 Nov 2002, Jason Short via RT wrote:

> I now get this rather odd warning in server/unithand.c:
> 
> unithand.c: In function `handle_unit_activity_dependencies':
> unithand.c:1221: warning: deprecated use of label at end of compound 
> statement
> 
> This seems to be entirely harmless.  I think the compiler thinks the 
> author probably did something he did not intend, but I don't even know 
> what that might be.

Aha, that's me.  Agree with the patch 100%.

> The attached patch "fixes" it.
> 
> jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#2320) compiler warning in server/unithand.c, Gregory Berkolaiko via RT <=