From 56bafdb0e2ae547683a71c98eefd9d244c638657 Mon Sep 17 00:00:00 2001 From: crs Date: Wed, 16 Apr 2003 20:59:14 +0000 Subject: [PATCH] Minor win32 fixes. --- cmd/synergyc/synergyc.cpp | 2 +- cmd/synergys/synergys.cpp | 2 +- lib/platform/CMSWindowsPrimaryScreen.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/synergyc/synergyc.cpp b/cmd/synergyc/synergyc.cpp index 4f72a6bd..e1aabab0 100644 --- a/cmd/synergyc/synergyc.cpp +++ b/cmd/synergyc/synergyc.cpp @@ -255,7 +255,7 @@ static int runMainInThread(void) { - int result; + int result = 0; CThread appThread(new CFunctionJob(&realMainEntry, &result)); try { #if WINDOWS_LIKE diff --git a/cmd/synergys/synergys.cpp b/cmd/synergys/synergys.cpp index d85c4c6b..8cf18f88 100644 --- a/cmd/synergys/synergys.cpp +++ b/cmd/synergys/synergys.cpp @@ -277,7 +277,7 @@ static int runMainInThread(void) { - int result; + int result = 0; CThread appThread(new CFunctionJob(&realMainEntry, &result)); try { #if WINDOWS_LIKE diff --git a/lib/platform/CMSWindowsPrimaryScreen.cpp b/lib/platform/CMSWindowsPrimaryScreen.cpp index bee3ceb8..db73e861 100644 --- a/lib/platform/CMSWindowsPrimaryScreen.cpp +++ b/lib/platform/CMSWindowsPrimaryScreen.cpp @@ -544,7 +544,6 @@ CMSWindowsPrimaryScreen::onPreDispatch(const CEvent* event) } // handle event - const MSG* msg = &event->m_msg; switch (msg->message) { case SYNERGY_MSG_MARK: m_markReceived = msg->wParam;