From d7e5ad0bb2ef455254261f2f30a13de6a948f1ed Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 13 Aug 2014 23:38:13 +0200 Subject: [PATCH] warning C4189 local variable initialized but not referenced Change-Id: I6047e0fc10bb6de0009da40855a97df89904cb0c --- sd/source/ui/remotecontrol/WINNetworkService.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 }