From: Art Cancro Date: Tue, 12 Apr 2016 23:15:25 +0000 (-0400) Subject: fix warnings - remove variables no longer needed X-Git-Tag: Release_902~50 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=f5a63e1b2e81baf66766d15837165f7b655a6ee9;p=citadel.git fix warnings - remove variables no longer needed --- diff --git a/citadel/modules/ctdlproto/serv_file.c b/citadel/modules/ctdlproto/serv_file.c index c1e97d2f6..46e6959b7 100644 --- a/citadel/modules/ctdlproto/serv_file.c +++ b/citadel/modules/ctdlproto/serv_file.c @@ -223,11 +223,9 @@ void cmd_open(char *cmdbuf) */ void cmd_oimg(char *cmdbuf) { - char filename[256]; + char filename[PATH_MAX]; char pathname[PATH_MAX]; char MimeTestBuf[32]; - struct ctdluser usbuf; - char which_user[USERNAME_SIZE]; int which_floor; int a; int rv;