=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: msvcrtd: Add missing return ( Coverity).

Alexandre Julliard julliard at winehq.org
Tue Jul 9 15:58:10 CDT 2013


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Jul  8 21:18:18 2013 +0200

msvcrtd: Add missing return (Coverity).

---

 dlls/msvcrtd/debug.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcrtd/debug.c b/dlls/msvcrtd/debug.c
index 3ddfbbc..b849652 100644
--- a/dlls/msvcrtd/debug.c
+++ b/dlls/msvcrtd/debug.c
@@ -58,6 +58,7 @@ void * CDECL MSVCRTD_operator_new_dbg(MSVCRT_size_t nSize, int nBlockUse,
         return NULL;
     case _FREE_BLOCK:
         FIXME("Native code throws an exception here\n");
+        return NULL;
     case _CRT_BLOCK:
     case _IGNORE_BLOCK:
         ERR("Not allowed nBlockUse value: %d\n", _BLOCK_TYPE(nBlockUse));




More information about the wine-cvs mailing list