ntdll: Avoid compiler warning in the default case in append_entry.

This commit is contained in:
Gerald Pfeifer 2010-03-06 22:39:37 +01:00 committed by Alexandre Julliard
parent 3ecea9f826
commit dfa200d1e8
1 changed files with 1 additions and 0 deletions

View File

@ -1120,6 +1120,7 @@ static union file_directory_info *append_entry( void *info_ptr, IO_STATUS_BLOCK
default: default:
assert(0); assert(0);
return NULL;
} }
memcpy( filename, long_nameW, total_len - ((char *)filename - (char *)info) ); memcpy( filename, long_nameW, total_len - ((char *)filename - (char *)info) );
io->Information += total_len; io->Information += total_len;