diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-08-31 17:08:36 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-08-31 17:08:36 +0100 |
commit | 07a0921a8e81ccb0388a71eb78767b1d2ae5d77f (patch) | |
tree | ef097c53c6635df04660eb933da223fce8830f23 | |
parent | 8f893cfe961a3be8c688e9d657e656e03749477b (diff) | |
download | microbbs-07a0921a8e81ccb0388a71eb78767b1d2ae5d77f.tar.gz microbbs-07a0921a8e81ccb0388a71eb78767b1d2ae5d77f.zip |
Fixed few warnings
-rw-r--r-- | captcha.c | 2 | ||||
-rw-r--r-- | motd.c | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -9,8 +9,6 @@ int captcha_test1( term_screen *ts) { int ret = 0; - const int s_size = 2; - char s[s_size]; int column=0, row=0; int c=0; @@ -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 ); |