summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 8a2b5c8..83321ed 100644
--- a/src/config.c
+++ b/src/config.c
@@ -201,7 +201,7 @@ void config_load(struct tofi *tofi, const char *filename)
}
{
/* Grab first non-space character on the line. */
- char c;
+ char c = '\0';
for (char *tmp = line; *tmp != '\0'; tmp++) {
c = *tmp;
if (!isspace(c)) {