fix(PVS/V1001): variable is assigned but is not used

This commit is contained in:
dundargoc 2023-11-11 11:06:58 +01:00 committed by dundargoc
parent be83cd73b2
commit 128e194f64

View File

@ -3614,7 +3614,7 @@ static const char *did_set_option(int opt_idx, void *varp, OptVal old_value, Opt
} }
// Unset new_value as it is no longer valid. // Unset new_value as it is no longer valid.
new_value = NIL_OPTVAL; // NOLINT(clang-analyzer-deadcode.DeadStores) new_value = NIL_OPTVAL; // -V1001 NOLINT(clang-analyzer-deadcode.DeadStores)
return errmsg; return errmsg;
} }