msi: Remove redundant tracing.
This commit is contained in:
parent
a7bd11afb0
commit
1650367e16
|
@ -2744,8 +2744,6 @@ VS_FIXEDFILEINFO *msi_get_disk_file_version( LPCWSTR filename )
|
||||||
DWORD versize, handle;
|
DWORD versize, handle;
|
||||||
UINT sz;
|
UINT sz;
|
||||||
|
|
||||||
TRACE("%s\n", debugstr_w(filename));
|
|
||||||
|
|
||||||
versize = GetFileVersionInfoSizeW( filename, &handle );
|
versize = GetFileVersionInfoSizeW( filename, &handle );
|
||||||
if (!versize)
|
if (!versize)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -2799,13 +2797,12 @@ DWORD msi_get_disk_file_size( LPCWSTR filename )
|
||||||
HANDLE file;
|
HANDLE file;
|
||||||
DWORD size;
|
DWORD size;
|
||||||
|
|
||||||
TRACE("%s\n", debugstr_w(filename));
|
|
||||||
|
|
||||||
file = CreateFileW( filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL );
|
file = CreateFileW( filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL );
|
||||||
if (file == INVALID_HANDLE_VALUE)
|
if (file == INVALID_HANDLE_VALUE)
|
||||||
return INVALID_FILE_SIZE;
|
return INVALID_FILE_SIZE;
|
||||||
|
|
||||||
size = GetFileSize( file, NULL );
|
size = GetFileSize( file, NULL );
|
||||||
|
TRACE("size is %u\n", size);
|
||||||
CloseHandle( file );
|
CloseHandle( file );
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue