Perhaps you mean '=' instead of '=='? void SetEngineNumber(int nn) {EngineNumber = nn;}
Regards. Mark K Vallevand Fat, dumb and happy. 2 out of 3 ain't bad. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 30, 2001 10:08 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [Flightgear-devel] Re: JSBSim BUG? > > > > 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