Commit fe1459d
authored
programmemory.cpp: avoid unnecessary
`infer()` will exit early if any of the list of given values is empty.
so there is no need to call it (and copy the values with the call) if we
know that beforehand.infer() calls in Executor::executeimpl() (cppcheck-opensource#6629)1 parent 84ddcfb commit fe1459d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | | - | |
| 1509 | + | |
1510 | 1510 | | |
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | | - | |
| 1515 | + | |
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
| |||
0 commit comments