diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2019-02-11 07:03:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-11 07:03:24 +0100 |
commit | 379f5f9903527385200289edd556a4a1ed895668 (patch) | |
tree | d808ee623f7ff5a9e92c999d7840a7128259c304 | |
parent | 1c60cbda7c0986a5d6277a7e0aa7d569e87a4b61 (diff) | |
parent | f160cf4e383f743c0634669f32c2460c48a651e8 (diff) |
Merge pull request #15485 from fritsch/upnp18.1rc1-Leia
UPNPPlayer: Do not use memset on non-trivial type
-rw-r--r-- | xbmc/network/upnp/UPnPPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/network/upnp/UPnPPlayer.cpp b/xbmc/network/upnp/UPnPPlayer.cpp index d0c306bdf6..82ae8838d9 100644 --- a/xbmc/network/upnp/UPnPPlayer.cpp +++ b/xbmc/network/upnp/UPnPPlayer.cpp @@ -54,7 +54,7 @@ public: , m_callback(callback) , m_postime(0) { - memset(&m_posinfo, 0, sizeof(m_posinfo)); + m_posinfo = {}; m_device->FindServiceByType("urn:schemas-upnp-org:service:AVTransport:1", m_transport); } |