mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2024-12-22 22:16:37 +08:00
Merge pull request #815 from fhuberts/fix-2-trivial-clang-warnings
Fix 2 trivial clang warnings
This commit is contained in:
commit
fd82260da6
@ -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;
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user