It looks to me like it evaluates EngineNumber == nn, but does nothing
with the result, hence 'Expression has no effect'.

--
Ross

On Fri, 2001-11-30 at 16:07, [EMAIL PROTECTED] wrote:
> > Hi Jon,
> > 
> > It looks like the compiler has got something here:
> > 
> > "../FGEngine.h", line 186: warning(1171): expression has no effect
> >      void SetEngineNumber(int nn) {EngineNumber == nn;}
> 
> Yes, I have just noticed that but cannot figure out what the hell that's all 
> about. Am I missing something obvious?
> 
> [posted to the fgfs developer list]
> 
> Jon
> 
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to