Re: do_set errors, more :/

From: Chuck Reed (master@I-55.COM)
Date: 06/20/98


>act.wizard.c:2592: warning: `return' with no value, in function returning
>non-void
>act.wizard.c:2595: warning: `return' with no value, in function returning
>non-void
>
>how would I go about fixing these?

This one warrants the newbie flag to start off with . . .
Secondly, the function expects a vlue to be returned.  Like it's defined as

int my_function or char *super_function or whatever.  You have these in
your function.

return;

when it expects something like

return value;
---------------------------------------
Chuck Reed      | Ash of Dark Horizon |
master@i-55.com | dh.gator.net 6001   |
---------------------------------------


     +------------------------------------------------------------+
     | 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