common notation of empty if/else case
This commit is contained in:
parent
63423eb6f8
commit
885b5cd2f9
@ -1112,8 +1112,8 @@ private:
|
||||
if (exclusiveMaximum_ ? i >= maximum_.GetInt64() : i > maximum_.GetInt64())
|
||||
RAPIDJSON_INVALID_KEYWORD_RETURN(GetMaximumString());
|
||||
}
|
||||
else if (maximum_.IsUint64())
|
||||
/* do nothing */; // i <= max(int64_t) < maximum_.GetUint64()
|
||||
else if (maximum_.IsUint64()) { }
|
||||
/* do nothing */ // i <= max(int64_t) < maximum_.GetUint64()
|
||||
else if (!CheckDoubleMaximum(context, static_cast<double>(i)))
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user