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 6a0d8f9b18085f2b1d46f5d045b587b40b0683af..361288251c1765ce973728b845bddf1b7b90e942 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;