aboutsummaryrefslogtreecommitdiffstats
path: root/src/dblayer.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-21 13:11:23 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-21 13:11:23 +0300
commit774d8047e0f0ac0824a81b176cec761aac1e62d7 (patch)
treeca92b8a08d119d74aaa1fa1e05b0e5f216fb0a2a /src/dblayer.c
parent18e6099230c3bfe23d4faeeae289554f127deb87 (diff)
downloadck-774d8047e0f0ac0824a81b176cec761aac1e62d7.tar.gz
ck-774d8047e0f0ac0824a81b176cec761aac1e62d7.tar.bz2
ck-774d8047e0f0ac0824a81b176cec761aac1e62d7.zip
fix some compiler warnings
Diffstat (limited to 'src/dblayer.c')
-rw-r--r--src/dblayer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dblayer.c b/src/dblayer.c
index da5d57e..0a59938 100644
--- a/src/dblayer.c
+++ b/src/dblayer.c
@@ -454,7 +454,6 @@ int edit_get_config(DB *db, const char *pName, char *ret, const char *cName, int
char *tmp = strdup((char *)sqlite3_column_text(stmt, 0));
if (strcmp(cName, basename(tmp)) == 0) {
flag = 0;
- char confName[STR_M];
str_make_ck_config_name(confName, (char *)sqlite3_column_text(stmt, 0), pName);
strcpy(ret, confName);
if (sec) {
@@ -464,7 +463,6 @@ int edit_get_config(DB *db, const char *pName, char *ret, const char *cName, int
free(tmp);
}
else {
- char confName[STR_M];
str_make_ck_config_name(confName, (char *)sqlite3_column_text(stmt, 0), pName);
strcpy(ret, confName);
flag = 0;