re: fix do_brew warning errors

From: Franco (awe@mt.arias.net)
Date: 07/23/96


Well, what I have found is this:
If you initialize the variable as NULL, for example in do_brew..

struct obj_data *container = NULL;

instead of..

struct obj_data *container;

It does not produce such errors. However, I believe that not assigning
NULL to the variable and assigning it have the same real effect, the
compiler just produces a warning when it is not.

Correct me if I'm wrong.

                Franco



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