mu: Fix some compiler warnings

This commit is contained in:
Dirk-Jan C. Binnema
2020-01-01 15:43:10 +02:00
parent 80c5e25b08
commit ad63044915
6 changed files with 15 additions and 21 deletions

View File

@ -255,14 +255,13 @@ cleanup_missing (MuIndex *midx, MuConfig *opts, MuIndexStats *stats,
static void
index_title (MuStore *store, MuConfig *opts)
{
const char *blue, *green, *def;
const char *green, *def;
char **addrs;
int i;
time_t created;
struct tm *tstamp;
struct tm *tstamp;
char tbuf[40];
blue = opts->nocolor ? "" : MU_COLOR_BLUE;
green = opts->nocolor ? "" : MU_COLOR_GREEN;
def = opts->nocolor ? "" : MU_COLOR_DEFAULT;