Skip to content

Commit 76cd83a

Browse files
committed
Fix code scanning warning.
1 parent 0000ab1 commit 76cd83a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

htmldoc/toc.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ parse_tree(tree_t *t) /* I - Document tree */
157157

158158
if ((var = htmlGetVariable(t, (uchar *)"VALUE")) != NULL)
159159
{
160-
int temp = atoi((char *)var);
160+
int value = atoi((char *)var);
161161

162-
if (temp > 0)
163-
heading_numbers[level] = temp;
162+
if (value > 0)
163+
heading_numbers[level] = value;
164164
else
165165
heading_numbers[level] ++;
166166
}

0 commit comments

Comments
 (0)