aboutsummaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-13 15:12:31 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-13 15:12:31 +0200
commit5a96d39542d356fc3d102d52390a55d8cb6758d3 (patch)
tree0f9e6844e880759e5b5b20b6af683a0822de410c /unit
parent2415d22c7a82396daf21dabe6191531cfa21e6a3 (diff)
downloadck-5a96d39542d356fc3d102d52390a55d8cb6758d3.tar.gz
ck-5a96d39542d356fc3d102d52390a55d8cb6758d3.tar.bz2
ck-5a96d39542d356fc3d102d52390a55d8cb6758d3.zip
Leave no string uninitialized.
Diffstat (limited to 'unit')
-rw-r--r--unit/ck-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/ck-test.c b/unit/ck-test.c
index 36b23d8..d7cf203 100644
--- a/unit/ck-test.c
+++ b/unit/ck-test.c
@@ -34,7 +34,7 @@ void ck_list_test() {
void ck_str_utils_test() {
/* make_ck_config_name */
- char ck_conf_path[STR_M];
+ char ck_conf_path[STR_M] = "";
str_make_ck_config_name(ck_conf_path, "/test/path/.config", "emacs");
assert(strcmp(ck_conf_path, "emacs/.config") == 0);