From: Andre Noll Date: Wed, 29 Jan 2014 00:26:28 +0000 (+0100) Subject: com_stat(): Remove pointless uptime variable. X-Git-Tag: v0.5.2~6^2~3 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=79e789a4981cf04634113056b320899e57b7e822;p=paraslash.git com_stat(): Remove pointless uptime variable. This variable is set but the content is never used. Drop it. --- diff --git a/command.c b/command.c index 84dd1bff..a8d479e9 100644 --- a/command.c +++ b/command.c @@ -110,7 +110,6 @@ static unsigned get_status(struct misc_meta_data *nmmd, int parser_friendly, char mtime[30] = ""; char *status, *flags; /* vss status info */ /* nobody updates our version of "now" */ - char *ut = get_server_uptime_str(NULL); long offset = (nmmd->offset + 500) / 1000; struct timeval current_time; struct tm mtime_tm; @@ -144,7 +143,6 @@ static unsigned get_status(struct misc_meta_data *nmmd, int parser_friendly, (long unsigned)current_time.tv_usec); free(flags); free(status); - free(ut); *result = b.buf; return b.offset; }