mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
Remove unused codes found by cppcheck
* remove unused functions * remove unused variables * mark necessary but unused variables with UNUSED_VARIABLE Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
a1b464f24a
commit
f168e4bd7b
30 changed files with 35 additions and 111 deletions
|
|
@ -579,7 +579,6 @@ Object::OwnPropertyKeyVector ProxyObject::ownPropertyKeys(ExecutionState& state)
|
|||
}
|
||||
|
||||
// 21. Repeat, for each key that is an element of targetNonconfigurableKeys,
|
||||
size_t removedUncheckedResultKeys = 0;
|
||||
for (size_t i = 0; i < targetNonconfigurableKeys.size(); ++i) {
|
||||
auto& key = targetNonconfigurableKeys[i];
|
||||
// a. If key is not an element of uncheckedResultKeys, throw a TypeError exception.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue