mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +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
|
|
@ -586,7 +586,8 @@ time64_t DateObject::parseStringToDate_1(ExecutionState& state, String* istr, bo
|
|||
skipSpacesAndComments(dateString);
|
||||
}
|
||||
|
||||
parseLong(dateString, &newPosStr, 10, &hour);
|
||||
bool temp = parseLong(dateString, &newPosStr, 10, &hour);
|
||||
UNUSED_VARIABLE(temp);
|
||||
// Do not check for errno here since we want to continue
|
||||
// even if errno was set becasue we are still looking
|
||||
// for the timezone!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue