diff options
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/UPnP.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/UPnP.cpp b/Source/Core/Common/UPnP.cpp index 2ca9fc9e54..47c4cf8337 100644 --- a/Source/Core/Common/UPnP.cpp +++ b/Source/Core/Common/UPnP.cpp @@ -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; |
