From dfa200d1e896c4d56e751fa2a0a83c909394a3f7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 6 Mar 2010 22:39:37 +0100 Subject: [PATCH] ntdll: Avoid compiler warning in the default case in append_entry. --- dlls/ntdll/directory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c index ecd94189470..865c2fa863b 100644 --- a/dlls/ntdll/directory.c +++ b/dlls/ntdll/directory.c @@ -1120,6 +1120,7 @@ static union file_directory_info *append_entry( void *info_ptr, IO_STATUS_BLOCK default: assert(0); + return NULL; } memcpy( filename, long_nameW, total_len - ((char *)filename - (char *)info) ); io->Information += total_len;