]> git.pond.sub.org Git - empserver/blobdiff - src/server/timestamp.c
(weekday, daytime, daytime_range): New; replace kw_parse(). Parsing
[empserver] / src / server / timestamp.c
index b0ee6dd1efa8e65fc7f8190289bdb726f47b2035..eb0018ae67a9252b27194a9d4b1aba97e7f1df6a 100644 (file)
@@ -35,7 +35,6 @@
 #include "options.h"
 #include "misc.h"
 #include "player.h"
-#include "keyword.h"
 #include "empthread.h"
 #include <stdio.h>
 #include "prototypes.h"
@@ -96,7 +95,6 @@ mobility_init(void)
     time_t now;
     time_t lastsavedtime;
     FILE *fp;
-    int hour[2];
 
     /* During downtime, we don't want mobility to accrue.  So, we look
        at the timestamp file, and determine how far forward to push
@@ -109,6 +107,7 @@ mobility_init(void)
     if ((fp = fopen(timestampfil, "r+b")) == NULL) {
 #endif
        logerror("Unable to edit timestamp file.");
+       /* FIXME safe to continue? */
     } else {
        rewind(fp);
        fread(&timestamps, sizeof(timestamps), 1, fp);