Fix compiler warning when compiling with RPMODE_SYS enabled
authorAri Johnson <ari@theari.com>
Mon, 14 Dec 2015 15:52:33 +0000 (10:52 -0500)
committerAri Johnson <ari@theari.com>
Mon, 14 Dec 2015 15:52:33 +0000 (10:52 -0500)
src/flags.c

index 6a0d8f9..3612882 100644 (file)
@@ -1386,7 +1386,7 @@ set_flag(dbref player, dbref thing, const char *flag, int negate,
   char  icloc_buf[BUFFER_LEN];
   char *tp2, *tp3;
   ATTR *a, *icloc_ptr;
-  dbref icloc, absroom;
+  dbref icloc = NOTHING, absroom;
 #endif /* RPMODE_SYS */
   FLAGSPACE *n;