diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-13 23:38:13 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-13 23:43:36 +0200 |
commit | d7e5ad0bb2ef455254261f2f30a13de6a948f1ed (patch) | |
tree | 7eeb365a2abca1efe68f9cbfa83c109cd0e91e0b /sd | |
parent | 6ec885c9ff4f074f7b163c314cebda1da32d7057 (diff) |
warning C4189 local variable initialized but not referenced
Change-Id: I6047e0fc10bb6de0009da40855a97df89904cb0c
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/WINNetworkService.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/WINNetworkService.cxx b/sd/source/ui/remotecontrol/WINNetworkService.cxx index 144b33aee7d2..8f6885ea6deb 100644 --- a/sd/source/ui/remotecontrol/WINNetworkService.cxx +++ b/sd/source/ui/remotecontrol/WINNetworkService.cxx @@ -7,6 +7,9 @@ void sd::WINNetworkService::setup() { DNSServiceErrorType err = DNSServiceRegister(&client, 0, 0, NULL, kREG_TYPE, "local", NULL, 1599, 1, "", NULL, this ); + if (kDNSServiceErr_NoError != err) + SAL_WARN("sdremote.wifi", "DNSServiceRegister failed: " << err); + // Fail silently } |