Minor win32 fixes.

This commit is contained in:
crs 2003-04-16 20:59:14 +00:00
parent 368d8cae39
commit 56bafdb0e2
3 changed files with 2 additions and 3 deletions

View File

@ -255,7 +255,7 @@ static
int int
runMainInThread(void) runMainInThread(void)
{ {
int result; int result = 0;
CThread appThread(new CFunctionJob(&realMainEntry, &result)); CThread appThread(new CFunctionJob(&realMainEntry, &result));
try { try {
#if WINDOWS_LIKE #if WINDOWS_LIKE

View File

@ -277,7 +277,7 @@ static
int int
runMainInThread(void) runMainInThread(void)
{ {
int result; int result = 0;
CThread appThread(new CFunctionJob(&realMainEntry, &result)); CThread appThread(new CFunctionJob(&realMainEntry, &result));
try { try {
#if WINDOWS_LIKE #if WINDOWS_LIKE

View File

@ -544,7 +544,6 @@ CMSWindowsPrimaryScreen::onPreDispatch(const CEvent* event)
} }
// handle event // handle event
const MSG* msg = &event->m_msg;
switch (msg->message) { switch (msg->message) {
case SYNERGY_MSG_MARK: case SYNERGY_MSG_MARK:
m_markReceived = msg->wParam; m_markReceived = msg->wParam;