clang/'Dead initialization': don't assign unused value to variable "string" #15015

This commit is contained in:
dundargoc 2021-07-07 23:25:27 +02:00 committed by GitHub
parent 77b33e4b9f
commit e2bc7e321b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;