summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2019-12-11 11:26:37 -0800
committerPhilip Chimento <philip.chimento@gmail.com>2019-12-14 13:28:41 -0800
commitde5f87a30f9d11f7ec13e16f0cb31ff98dd1f427 (patch)
tree6d1acb3df931af6b71cab13bc39fd32989dfb88a
parentde8245cc898b1b603414d4afc73ebeecb0b65e0b (diff)
gerror: Fix undefined variable in debug code
It seems that the surrounding code was updated without updating this debug-only code.
-rw-r--r--clang-plugin/gerror-checker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-plugin/gerror-checker.cpp b/clang-plugin/gerror-checker.cpp
index 43c341b..f11133f 100644
--- a/clang-plugin/gerror-checker.cpp
+++ b/clang-plugin/gerror-checker.cpp
@@ -421,8 +421,8 @@ GErrorChecker::_handle_eval_g_propagate_error (CheckerContext &context,
return state;
}
- DEBUG_DUMPABLE ("Handle post-g_propagate_error: dest_location:",
- dest_location);
+ DEBUG_DUMPABLE ("Handle post-g_propagate_error: dest_ptr_location:",
+ dest_ptr_location);
DEBUG_DUMPABLE ("Handle post-g_propagate_error: src_location:",
src_location);