src/virt_objects/virt_connect/conn_alive_thread.cpp:193:65: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
src/virt_objects/virt_connect/conn_alive_thread.cpp:205:65: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
1.
src/virt_objects/virt_connect/conn_alive_thread.cpp:193:65: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
Source is
memset(&obj->authData.username[0], 0, sizeof(obj->authData.username));
2.
src/virt_objects/virt_connect/conn_alive_thread.cpp:205:65: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]