char *i = NULL;
On Mon, 8 Jul 2002, Dantin wrote:

>      Okay I have patched Ivan's OLC 2.01 which I translated to english to a
> stock rom 2.4b6. The only error when I compile is in comm.c line 2523 which
> reads:
>
> comm.c : 2523 : 'i' might be used uninitialized in this function.
>
>       This is in the act_new portion of comm.c and heres the beginning code.
>
>      void act_new( const char *format, CHAR_DATA *ch, const void *arg1,
>        const void *arg2, int type, int min_pos)
> {
>     static char * const he_she  [] = { "it",  "he",  "she" };
>     static char * const him_her [] = { "it",  "him", "her" };
>     static char * const his_her [] = { "its", "his", "her" };
>
>     char buf[MAX_STRING_LENGTH];
>     char fname[MAX_INPUT_LENGTH];
>     CHAR_DATA *to;
>     CHAR_DATA *vch = (CHAR_DATA *) arg2;
>     OBJ_DATA *obj1 = (OBJ_DATA  *) arg1;
>     OBJ_DATA *obj2 = (OBJ_DATA  *) arg2;
>     const char *str;
>     const char *i;
>     char *point;
>
> Now has anyone else gotten this error and if you fixed it what did you have
> to do? Please help.. Thanks
>
>                                    Dantin
>
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>


Reply via email to