From f5a63e1b2e81baf66766d15837165f7b655a6ee9 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 12 Apr 2016 19:15:25 -0400 Subject: [PATCH] fix warnings - remove variables no longer needed --- citadel/modules/ctdlproto/serv_file.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.30.2