[CODE] Errors

From: Quinn ShadowStalker (quinn@MUD.COMSYS.NET)
Date: 05/18/98


ok these are the errors I get when Im compile and I cant figure out whats
wrong:

act.item.c: In function `do_wear':
act.item.c:1286: parse error before `else'
act.item.c:1229: warning: `obj' might be used uninitialized in this function
act.item.c: At top level:
act.item.c:1293: parse error before `}'

and here is the code:

  if (GET_OBJ_LEVEL(obj) > GET_LEVEL(ch)) {
    send_to_char("You have to be a higher level to wear that!\r\n", ch);
    return;
  }

-------------------------------------------------------------------------|
|Matt Roach - owner of OnyxMUD            | "I dont have bugs... just    |
|matt@shiva.ml.org    quinn@mud.comsys.net| randomly created features!"  |
-------------------------------------------------------------------------|


     +------------------------------------------------------------+
     | 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/15/00 PST