Initialize status = 0 in do_atrlock - temporary workaround
authorAri Johnson <ari@theari.com>
Mon, 25 Apr 2011 03:32:05 +0000 (22:32 -0500)
committerAri Johnson <ari@theari.com>
Mon, 25 Apr 2011 03:32:05 +0000 (22:32 -0500)
refs #246

src/attrib.c

index aa9375a7b7c7d9631328632db67ac21dfd4cde3c..8af76e8aba1578f8ff05a56f72dc3eedfb63698e 100644 (file)
@@ -2085,7 +2085,7 @@ do_atrlock(dbref player, const char *xarg1, const char *arg2,
   dbref thing, creator;
   char *p, *arg1;
   ATTR *ptr;
-  int status;
+  int status = 0;
   boolexp key;
 
   if (!arg2 || !*arg2)