mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
UPnP: use value-initialization instead of std::memset
This commit is contained in:
parent
0e51082bbb
commit
8702ffccc3
@ -39,8 +39,8 @@ static bool InitUPnP()
|
||||
if (s_error)
|
||||
return false;
|
||||
|
||||
std::memset(&s_urls, 0, sizeof(UPNPUrls));
|
||||
std::memset(&s_data, 0, sizeof(IGDdatas));
|
||||
s_urls = {};
|
||||
s_data = {};
|
||||
|
||||
// Find all UPnP devices
|
||||
int upnperror = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user