summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/Makefile3
-rw-r--r--mbbsd/bbs.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 3be108ad..a635cb48 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -21,7 +21,8 @@ OBJS= admin.o announce.o args.o assess.o bbs.o board.o cache.o cal.o card.o\
OBJS+= random.o time.o
DIETCC= diet -Os
.endif
-CFLAGS+=-std=c99
+#CFLAGS+=-g
+#CFLAGS+=-std=c99
# reduce .bss align overhead
.if !defined(DEBUG)
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index fac9c21a..dad56f0a 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1173,8 +1173,6 @@ edit_post(int ent, fileheader_t * fhdr, const char *direct)
fp = fopen(fpath, "at");
src = fopen(genbuf, "rt");
- FILE *xp = NULL;
-
if(!fp)
{
vmsg("©êºp¡AÀɮפw·l·´¡C");