From 0c82c9f7e35d989919894f76a05a084b0422e074 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 7 Aug 2017 19:17:42 +0200 Subject: [PATCH] server: Kill two pointless variables in vss.c. Both variables are set but never used. The two variables were introduced back in the CVS days and have been pointless for the whole git history since 2006. --- vss.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/vss.c b/vss.c index 30285aef..dc325a3d 100644 --- a/vss.c +++ b/vss.c @@ -1181,7 +1181,6 @@ void init_vss_task(int afs_socket, struct sched *s) { static struct vss_task vss_task_struct, *vsst = &vss_task_struct; int i; - char *hn = para_hostname(), *home = para_homedir(); long unsigned announce_time = OPT_UINT32_VAL(ANNOUNCE_TIME), autoplay_delay = OPT_UINT32_VAL(AUTOPLAY_DELAY); vsst->header_interval.tv_sec = 5; /* should this be configurable? */ @@ -1193,8 +1192,6 @@ void init_vss_task(int afs_socket, struct sched *s) PARA_NOTICE_LOG("initializing %s sender\n", senders[i].name); senders[i].init(&senders[i]); } - free(hn); - free(home); mmd->sender_cmd_data.cmd_num = -1; if (OPT_GIVEN(AUTOPLAY)) { struct timeval tmp; -- 2.39.5