mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1202971 (part 2) - Fix compile warnings in toolkit/mozapps/update/tests. r=rstrong.
This commit is contained in:
parent
21934537ce
commit
22d80aeb7e
@ -245,7 +245,9 @@ int NS_main(int argc, NS_tchar **argv)
|
||||
NS_tfputs(NS_T("test"), file);
|
||||
fclose(file);
|
||||
}
|
||||
symlink(path, argv[5]);
|
||||
if (symlink(path, argv[5]) != 0) {
|
||||
return 1;
|
||||
}
|
||||
NS_tsnprintf(path, sizeof(path)/sizeof(path[0]),
|
||||
NS_T("%s/%s"), NS_T("/tmp"), argv[2]);
|
||||
if (argc > 6 && !NS_tstrcmp(argv[6], NS_T("change-perm"))) {
|
||||
|
@ -57,6 +57,3 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
USE_STATIC_LIBS = True
|
||||
if CONFIG['GNU_CC']:
|
||||
WIN32_EXE_LDFLAGS += ['-municode']
|
||||
|
||||
# XXX: We should fix these warnings
|
||||
ALLOW_COMPILER_WARNINGS = True
|
||||
|
Loading…
Reference in New Issue
Block a user