From 79e789a4981cf04634113056b320899e57b7e822 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 29 Jan 2014 01:26:28 +0100 Subject: [PATCH] com_stat(): Remove pointless uptime variable. This variable is set but the content is never used. Drop it. --- command.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.39.2