summaryrefslogtreecommitdiffstats
path: root/motd.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-08-31 17:08:36 +0100
committerFreeArtMan <dos21h@gmail.com>2015-08-31 17:08:36 +0100
commit07a0921a8e81ccb0388a71eb78767b1d2ae5d77f (patch)
treeef097c53c6635df04660eb933da223fce8830f23 /motd.c
parent8f893cfe961a3be8c688e9d657e656e03749477b (diff)
downloadmicrobbs-07a0921a8e81ccb0388a71eb78767b1d2ae5d77f.tar.gz
microbbs-07a0921a8e81ccb0388a71eb78767b1d2ae5d77f.zip
Fixed few warnings
Diffstat (limited to 'motd.c')
-rw-r--r--motd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/motd.c b/motd.c
index 19eff13..a8f7ada 100644
--- a/motd.c
+++ b/motd.c
@@ -10,7 +10,7 @@ int bbs_motd_draw( term_screen *ts, const char *fname )
int ret=0;
const int buf_size=80*26+1;
char buf[buf_size];
- int row=0,column=0;
+ //int row=0,column=0;
FILE *f = fopen( fname, "r" );
@@ -21,8 +21,8 @@ int bbs_motd_draw( term_screen *ts, const char *fname )
}
term_clr_scr( ts );
- row = term_get_maxrow( ts );
- column = term_get_maxcol( ts );
+ //row = term_get_maxrow( ts );
+ //column = term_get_maxcol( ts );
term_cur_set_r( ts, ++posr );
term_cur_set_c( ts, 0 );