diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-05 15:46:28 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-05 10:58:43 +0100 |
commit | e86c87c663442a67c708080895881dceef4b1f1b (patch) | |
tree | 4d8c7eab585a79ce94bbc0c0062b3356955e9288 | |
parent | 16d33d3263d9d68cfac7bf6532522e2da5c931d1 (diff) |
warning C4702: unreachable code
Change-Id: I93b5a0c938b8c0bdf69a03aea0f1aa6bac9fc414
(cherry picked from commit dfd474710f959dcf78038deb990c3618b467ec67)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sd/source/ui/dlg/RemoteDialog.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx index f9cff1bc9385..2765eb290a47 100644 --- a/sd/source/ui/dlg/RemoteDialog.cxx +++ b/sd/source/ui/dlg/RemoteDialog.cxx @@ -63,9 +63,12 @@ IMPL_LINK_NOARG(RemoteDialog, HandleConnectButton) return CloseHdl( 0 ); } else + { return 1; + } +#else + return 0; #endif - return 0; } IMPL_LINK_NOARG( RemoteDialog, CloseHdl ) |