aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/file-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-utils.c')
-rw-r--r--src/file-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file-utils.c b/src/file-utils.c
index 0e024f1..da55da2 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -207,6 +207,7 @@ teco_file_expand_path(const gchar *path)
if (!qreg->vtable->get_string(qreg, &home.data, &home.len, NULL) ||
teco_string_contains(&home, '\0'))
return g_strdup(path);
+ g_assert(home.data != NULL);
return g_build_filename(home.data, path+1, NULL);
}