diff options
author | 2019-03-18 21:24:20 +0100 | |
---|---|---|
committer | 2019-04-04 15:15:59 -0700 | |
commit | 1f9d7f29c55e80db830f7e7e8db15949483a8c1a (patch) | |
tree | 6865d7d63adc73f566949a17e9497e76d53194bf /core/xmp_parser.cpp | |
parent | d6a5fc5386c5d59b12589f5f3bd7109b62c917d1 (diff) | |
download | subsurface-1f9d7f29c55e80db830f7e7e8db15949483a8c1a.tar.gz |
Desktop: fix yet another variable name conflict
Addresses LGTM.com issue.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/xmp_parser.cpp')
-rw-r--r-- | core/xmp_parser.cpp | 4 |
1 files 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) { |