msi: Remove redundant tracing.

This commit is contained in:
Hans Leidekker 2011-05-12 17:22:34 +02:00 committed by Alexandre Julliard
parent a7bd11afb0
commit 1650367e16
1 changed files with 1 additions and 4 deletions

View File

@ -2744,8 +2744,6 @@ VS_FIXEDFILEINFO *msi_get_disk_file_version( LPCWSTR filename )
DWORD versize, handle;
UINT sz;
TRACE("%s\n", debugstr_w(filename));
versize = GetFileVersionInfoSizeW( filename, &handle );
if (!versize)
return NULL;
@ -2799,13 +2797,12 @@ DWORD msi_get_disk_file_size( LPCWSTR filename )
HANDLE file;
DWORD size;
TRACE("%s\n", debugstr_w(filename));
file = CreateFileW( filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL );
if (file == INVALID_HANDLE_VALUE)
return INVALID_FILE_SIZE;
size = GetFileSize( file, NULL );
TRACE("size is %u\n", size);
CloseHandle( file );
return size;
}