From: David Malcolm Date: Fri, 14 Aug 2020 19:32:01 +0000 (-0400) Subject: analyzer: fix name of local in region_model::get_rvalue_1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da7c2773e56c889f4f131b80d4b91f1adbae80a2;p=gcc.git analyzer: fix name of local in region_model::get_rvalue_1 gcc/analyzer/ChangeLog: * region-model.cc (region_model::get_rvalue_1): Fix name of local. --- diff --git a/gcc/analyzer/region-model.cc b/gcc/analyzer/region-model.cc index 305e9648c79..c3d9ca7f650 100644 --- a/gcc/analyzer/region-model.cc +++ b/gcc/analyzer/region-model.cc @@ -1118,8 +1118,8 @@ region_model::get_rvalue_1 (path_var pv, region_model_context *ctxt) case RESULT_DECL: case ARRAY_REF: { - const region *element_reg = get_lvalue (pv, ctxt); - return get_store_value (element_reg); + const region *reg = get_lvalue (pv, ctxt); + return get_store_value (reg); } case REALPART_EXPR: