mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:43:23 +00:00
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>
This commit is contained in:
parent
d228eb35d5
commit
c7abca2f42
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue