Merge pull request #815 from fhuberts/fix-2-trivial-clang-warnings

Fix 2 trivial clang warnings
This commit is contained in:
Leonid Stryzhevskyi 2023-08-16 02:15:21 +03:00 committed by GitHub
commit fd82260da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -67,11 +67,11 @@ namespace oatpp { namespace parser {
v_buff_size Caret::Label::getStartPosition() {
return m_start;
};
}
v_buff_size Caret::Label::getEndPosition() {
return m_end;
};
}
oatpp::String Caret::Label::toString(){
v_buff_size end = m_end;

View File

@ -244,7 +244,7 @@ oatpp::v_io_handle ConnectionProvider::instantiateServer(){
v_int32 ret;
int yes = 1;
addrinfo *result = NULL;
addrinfo *result = nullptr;
addrinfo hints;
memset(&hints, 0, sizeof(hints));