Update CMake for using add_subdirectory feature (#156)

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
박혁우/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 2018-10-02 18:26:00 +09:00 committed by Youngil Choi
commit e8ef8741fe
6 changed files with 209 additions and 209 deletions

View file

@ -621,8 +621,7 @@ time64_t DateObject::parseStringToDate_1(ExecutionState& state, String* istr, bo
}
// ':40 GMT'
if (*dateString && *dateString != ':' &&
!isASCIISpace(*dateString)) {
if (*dateString && *dateString != ':' && !isASCIISpace(*dateString)) {
return TIME64NAN;
}
@ -801,8 +800,7 @@ static char* parseES5TimePortion(char* currentPosition, long& hours, long& minut
if (!parseLong(currentPosition, &postParsePosition, 10, &hours)) {
return 0;
}
if (*postParsePosition != ':' ||
(postParsePosition - currentPosition) != 2) {
if (*postParsePosition != ':' || (postParsePosition - currentPosition) != 2) {
return 0;
}
currentPosition = postParsePosition + 1;