Enable more compiler warnings

This commit is contained in:
Consolatis 2023-01-31 03:35:13 +01:00
parent 1995a33df9
commit 82e9e866ec
12 changed files with 37 additions and 19 deletions

View file

@ -11,6 +11,7 @@
#include "common/mem.h"
#include "common/spawn.h"
#include "common/string-helpers.h"
#include "config/session.h"
static bool
isfile(const char *path)
@ -51,7 +52,7 @@ error:
free(value.buf);
}
void
static void
read_environment_file(const char *filename)
{
char *line = NULL;