diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-08-06 15:00:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-06 15:05:26 +0200 |
commit | e3b57c4de31c2180efa30dc8d86c533dd176686e (patch) | |
tree | d004aaf78ac323e809b7f42dde138d532776850c /sd | |
parent | 4a6ced8f94afba28e7e3a00573db2440b876d7d9 (diff) |
warning C4700: uninitialized local variable 'aRet' used
Change-Id: Ifb6a397372255b6e63e93a2f1f079e6d78531280
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx index fddaf3a19ada..50f7d7703b0b 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.cxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx @@ -73,9 +73,9 @@ void DiscoveryService::replyTo( sockaddr_in& rAddr ) void DiscoveryService::execute() { fprintf( stderr, "Discovery service is listening\n" );; - sal_uInt64 aRet, aRead; + sal_uInt64 aRet(0); + sal_uInt64 aRead(0); vector<char> aBuffer; - aRead = 0; while ( true ) { |