Re: Set Class

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 11/19/97


On Wed, 19 Nov 1997, Goonk wrote:

>Nope? the only warning that i got is this:
>spec_procs.c:721: warning: value computed is not used
>
>>> GET_CLASS(vict) == CLASS_SUB_1;
>>                  ^^
>>That is a comparison, not an assignment. The compiler doesn't warned you
>>about this?

That was the warning.  You computed whether GET_CLASS(vict) was equal to
CLASS_SUB_1 and did not do anything with it (like say, do an 'if' on it).

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST