Austin English : msvcrt: Fix a compiler warning.

Alexandre Julliard julliard at winehq.org
Fri Nov 21 06:54:51 CST 2008


Module: wine
Branch: master
Commit: 8efc3fec1d9804a0416e71bb6641017a07003ac7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8efc3fec1d9804a0416e71bb6641017a07003ac7

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Nov 20 18:07:07 2008 -0600

msvcrt: Fix a compiler warning.

---

 dlls/msvcrt/math.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index 25ac69f..30d7956 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -420,8 +420,8 @@ int CDECL _fpclass(double num)
 #ifdef FP_PNORM
   case FP_PNORM: return MSVCRT__FPCLASS_PN;
 #endif
+  default: return MSVCRT__FPCLASS_PN;
   }
-  return MSVCRT__FPCLASS_PN;
 #elif defined (fpclassify)
   switch (fpclassify( num ))
   {




More information about the wine-cvs mailing list