Gerald Pfeifer : ntdll: Avoid one warning around assert(0).

Alexandre Julliard julliard at winehq.org
Tue Dec 29 09:06:45 CST 2009


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Dec 25 11:14:07 2009 +0100

ntdll: Avoid one warning around assert(0).

---

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

diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index 350dd8a..7b124af 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -241,6 +241,7 @@ static inline unsigned int dir_info_size( FILE_INFORMATION_CLASS class, unsigned
         return (FIELD_OFFSET( FILE_ID_FULL_DIRECTORY_INFORMATION, FileName[len] ) + 3) & ~3;
     default:
         assert(0);
+        return 0;
     }
 }
 




More information about the wine-cvs mailing list