aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-07-07 23:25:27 +0200
committerGitHub <noreply@github.com>2021-07-07 14:25:27 -0700
commite2bc7e321b4a8bec3727cf342a84eb1e85dadbc8 (patch)
tree768720ae0012ffc7594ab50fb4b6e5673130aada
parent77b33e4b9fbd7b64f231ce7a6076e0d81152bafa (diff)
downloadrneovim-e2bc7e321b4a8bec3727cf342a84eb1e85dadbc8.tar.gz
rneovim-e2bc7e321b4a8bec3727cf342a84eb1e85dadbc8.tar.bz2
rneovim-e2bc7e321b4a8bec3727cf342a84eb1e85dadbc8.zip
clang/'Dead initialization': don't assign unused value to variable "string" #15015
-rw-r--r--src/nvim/api/private/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index c7d261ba18..9f2e94f31e 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -1790,7 +1790,7 @@ static void parse_border_style(Object style, FloatConfig *fconfig, Error *err)
}
for (size_t i = 0; i < size; i++) {
Object iytem = arr.items[i];
- String string = NULL_STRING;
+ String string;
int hl_id = 0;
if (iytem.type == kObjectTypeArray) {
Array iarr = iytem.data.array;