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:
HyukWoo Park 2020-10-05 17:39:16 +09:00 committed by Boram Bae
commit f168e4bd7b
30 changed files with 35 additions and 111 deletions

View file

@ -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!