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  -   | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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