aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-21 12:06:15 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-21 12:06:15 -0600
commited8b768c4a68042eed0c21c8305640841b22f006 (patch)
tree981a76893f35346ec5bab613f3e09b4b3ed2c3a7 /src/librc
parent825caa14de6160c966d44d64d5c0254f4038d9a0 (diff)
fix compiler warnings
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc-misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c
index 178768c5..4ff7f439 100644
--- a/src/librc/librc-misc.c
+++ b/src/librc/librc-misc.c
@@ -277,7 +277,6 @@ static RC_STRINGLIST *rc_config_kcl(RC_STRINGLIST *config)
char *tmp = NULL;
char *value = NULL;
size_t varlen = 0;
- size_t len = 0;
overrides = rc_stringlist_new();
@@ -295,7 +294,6 @@ static RC_STRINGLIST *rc_config_kcl(RC_STRINGLIST *config)
}
if (value != NULL) {
- len = varlen + strlen(value) + 2;
xasprintf(&tmp, "%s=%s", override->value, value);
}