Commit 6e6b374
authored
Fix copy-paste-error (#5444)
This is a warning we found during static analyis with CodeSecure
CodeSonar.
It flagged a suspicious copy-paste error, where it finds code that seems
to have been copied from another location, with some, but not all,
variables substituted.
Unclear to me if this truly is a problem, or intentional, but I wanted
to provide the feedback as I am not sure how to test this.
Lines 5614 to 5619 in lib/symboldatabase.cpp are a copy from 5597-5602
with vartok replaced by valuetok, except for line 56161 parent a1078f4 commit 6e6b374
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5638 | 5638 | | |
5639 | 5639 | | |
5640 | 5640 | | |
5641 | | - | |
| 5641 | + | |
5642 | 5642 | | |
5643 | 5643 | | |
5644 | 5644 | | |
| |||
0 commit comments