[PATCH] tools: (-W) Avoid compiler warning in exit_on_signal
Detlef Riekenberg
wine.dev at web.de
Sun Nov 4 08:59:46 CST 2007
---
tools/fnt2fon.c | 1 +
tools/make_ctests.c | 1 +
tools/sfnt2fnt.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/fnt2fon.c b/tools/fnt2fon.c
index 87c5ab7..ea59b62 100644
--- a/tools/fnt2fon.c
+++ b/tools/fnt2fon.c
@@ -66,6 +66,7 @@ static void cleanup_files(void)
static void exit_on_signal( int sig )
{
+ sig = sig;
exit(1); /* this will call the atexit functions */
}
diff --git a/tools/make_ctests.c b/tools/make_ctests.c
index 54f7484..77ee72d 100644
--- a/tools/make_ctests.c
+++ b/tools/make_ctests.c
@@ -42,6 +42,7 @@ static void cleanup_files(void)
static void exit_on_signal( int sig )
{
+ sig = sig;
exit(1); /* this will call the atexit functions */
}
diff --git a/tools/sfnt2fnt.c b/tools/sfnt2fnt.c
index 955f61a..006c3da 100644
--- a/tools/sfnt2fnt.c
+++ b/tools/sfnt2fnt.c
@@ -116,6 +116,7 @@ static void cleanup(void)
static void exit_on_signal( int sig )
{
+ sig = sig;
exit(1); /* this will call the atexit functions */
}
--
1.4.1
--=-Ba2WF/whcKF+gTwBvx5f--
More information about the wine-patches
mailing list