diff options
-rw-r--r-- | src/dblayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dblayer.c b/src/dblayer.c index f97b70c..190cb05 100644 --- a/src/dblayer.c +++ b/src/dblayer.c @@ -465,7 +465,7 @@ int list_get_path_program_tree(DB *db, cklist *ckl) { } while (sqlite3_step(stmt) == SQLITE_ROW) { - char programName[STR_M]; + char programName[STR_M] = ""; strcat(programName, (char *)sqlite3_column_text(stmt, 0)); strcat(programName, ":"); list_add(ckl, programName); |