зеркало из https://github.com/mozilla/gecko-dev.git
fix casting warning and quiet useless runtime noise on success
This commit is contained in:
Родитель
e8aff87d5a
Коммит
919fe50aec
|
@ -402,7 +402,7 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
header = XPT_NewHeader(trueNumberOfInterfaces);
|
header = XPT_NewHeader((PRUint16)trueNumberOfInterfaces);
|
||||||
header->annotations = first_ann;
|
header->annotations = first_ann;
|
||||||
for (i=0; i<trueNumberOfInterfaces; i++) {
|
for (i=0; i<trueNumberOfInterfaces; i++) {
|
||||||
if (!copy_IDE(&IDE_array[i], &header->interface_directory[i])) {
|
if (!copy_IDE(&IDE_array[i], &header->interface_directory[i])) {
|
||||||
|
@ -444,7 +444,7 @@ main(int argc, char **argv)
|
||||||
if (ferror(out) != 0 || fclose(out) != 0) {
|
if (ferror(out) != 0 || fclose(out) != 0) {
|
||||||
fprintf(stderr, "Error writing file: %s\n", argv[1]);
|
fprintf(stderr, "Error writing file: %s\n", argv[1]);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "File written: %s\n", argv[1]);
|
/* fprintf(stderr, "File written: %s\n", argv[1]); */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state)
|
if (state)
|
||||||
|
|
|
@ -402,7 +402,7 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
header = XPT_NewHeader(trueNumberOfInterfaces);
|
header = XPT_NewHeader((PRUint16)trueNumberOfInterfaces);
|
||||||
header->annotations = first_ann;
|
header->annotations = first_ann;
|
||||||
for (i=0; i<trueNumberOfInterfaces; i++) {
|
for (i=0; i<trueNumberOfInterfaces; i++) {
|
||||||
if (!copy_IDE(&IDE_array[i], &header->interface_directory[i])) {
|
if (!copy_IDE(&IDE_array[i], &header->interface_directory[i])) {
|
||||||
|
@ -444,7 +444,7 @@ main(int argc, char **argv)
|
||||||
if (ferror(out) != 0 || fclose(out) != 0) {
|
if (ferror(out) != 0 || fclose(out) != 0) {
|
||||||
fprintf(stderr, "Error writing file: %s\n", argv[1]);
|
fprintf(stderr, "Error writing file: %s\n", argv[1]);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "File written: %s\n", argv[1]);
|
/* fprintf(stderr, "File written: %s\n", argv[1]); */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state)
|
if (state)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче