mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1205148 - Fix and disallow warnings in rdf/datasource/. r=froydnj.
This commit is contained in:
parent
c5ff6fa21d
commit
3f8f7ea3d1
@ -23,5 +23,3 @@ LOCAL_INCLUDES += [
|
|||||||
|
|
||||||
if CONFIG['GNU_CXX']:
|
if CONFIG['GNU_CXX']:
|
||||||
CXXFLAGS += ['-Wshadow']
|
CXXFLAGS += ['-Wshadow']
|
||||||
else:
|
|
||||||
ALLOW_COMPILER_WARNINGS = True
|
|
||||||
|
@ -851,7 +851,7 @@ FileSystemDataSource::GetVolumeList(nsISimpleEnumerator** aResult)
|
|||||||
|
|
||||||
for (volNum = 0; volNum < 26; volNum++)
|
for (volNum = 0; volNum < 26; volNum++)
|
||||||
{
|
{
|
||||||
swprintf( drive, L"%c:\\", volNum + (char16_t)'A');
|
swprintf_s(drive, 32, L"%c:\\", volNum + (char16_t)'A');
|
||||||
|
|
||||||
driveType = GetDriveTypeW(drive);
|
driveType = GetDriveTypeW(drive);
|
||||||
if (driveType != DRIVE_UNKNOWN && driveType != DRIVE_NO_ROOT_DIR)
|
if (driveType != DRIVE_UNKNOWN && driveType != DRIVE_NO_ROOT_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user