From c7abca2f42976f799a1d96f8fb81adb75f903ca9 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 18 Mar 2019 21:24:20 +0100 Subject: Desktop: fix yet another variable name conflict Addresses LGTM.com issue. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- core/xmp_parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/xmp_parser.cpp b/core/xmp_parser.cpp index 0725030fb..c59e9a5bd 100644 --- a/core/xmp_parser.cpp +++ b/core/xmp_parser.cpp @@ -72,7 +72,7 @@ static timestamp_t extract_timestamp_from_attributes(const xmlNode *node) return 0; } -static timestamp_t extract_timestamp(const xmlNode *node) +static timestamp_t extract_timestamp(const xmlNode *firstnode) { // We use a private stack, so that we can return in one go without // having to unwind the call-stack. We only recurse to a fixed depth, @@ -80,7 +80,7 @@ static timestamp_t extract_timestamp(const xmlNode *node) // This can be increased on demand. static const int max_recursion_depth = 16; const xmlNode *stack[max_recursion_depth]; - stack[0] = node; + stack[0] = firstnode; int stack_depth = 1; while (stack_depth > 0) { -- cgit v1.2.3-70-g09d2