Gerald Pfeifer : Add return statements to avoid gcc warnings.
Alexandre Julliard
julliard at winehq.org
Wed Aug 20 08:13:58 CDT 2008
Module: wine
Branch: master
Commit: e375b0c4a24050efa2927c7e25d7304302ab8b2e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e375b0c4a24050efa2927c7e25d7304302ab8b2e
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Mon Aug 11 00:44:31 2008 +0200
Add return statements to avoid gcc warnings.
---
dlls/ntdll/threadpool.c | 1 +
dlls/winedos/vga.c | 1 +
dlls/winedos/vxd.c | 2 ++
dlls/wineoss.drv/audio.c | 2 ++
4 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c
index 18baeee..9c0dafe 100644
--- a/dlls/ntdll/threadpool.c
+++ b/dlls/ntdll/threadpool.c
@@ -258,6 +258,7 @@ static DWORD CALLBACK iocp_poller(LPVOID Arg)
callback( err, transferred, overlapped );
}
}
+ return 0;
}
/***********************************************************************
diff --git a/dlls/winedos/vga.c b/dlls/winedos/vga.c
index fd52689..9afbc4c 100644
--- a/dlls/winedos/vga.c
+++ b/dlls/winedos/vga.c
@@ -295,6 +295,7 @@ static void CALLBACK set_timer_rate( ULONG_PTR arg )
static DWORD CALLBACK VGA_TimerThread( void *dummy )
{
for (;;) SleepEx( INFINITE, TRUE );
+ return 0;
}
static void VGA_DeinstallTimer(void)
diff --git a/dlls/winedos/vxd.c b/dlls/winedos/vxd.c
index 0b3602a..a719c30 100644
--- a/dlls/winedos/vxd.c
+++ b/dlls/winedos/vxd.c
@@ -407,6 +407,8 @@ static DWORD CALLBACK timer_thread( void *arg )
*system_time = GetTickCount();
Sleep( 55 );
}
+
+ return 0;
}
diff --git a/dlls/wineoss.drv/audio.c b/dlls/wineoss.drv/audio.c
index 2e22d14..460c1f5 100644
--- a/dlls/wineoss.drv/audio.c
+++ b/dlls/wineoss.drv/audio.c
@@ -1923,6 +1923,8 @@ static DWORD CALLBACK wodPlayer(LPVOID pmt)
dwNextFeedTime = dwNextNotifyTime = INFINITE;
}
}
+
+ return 0;
}
/**************************************************************************
More information about the wine-cvs
mailing list