зеркало из https://github.com/mozilla/gecko-dev.git
Bug 329728 Coverity doesn't like main in xpt_link because it pretends header could be null
r=mrbkap sr=bz
This commit is contained in:
Родитель
29d9267216
Коммит
b56efd6948
|
@ -251,8 +251,7 @@ main(int argc, char **argv)
|
|||
* equal to the version specified in the -t cmd line arg.
|
||||
*/
|
||||
|
||||
if (header &&
|
||||
(header->major_version > major_version ||
|
||||
if ((header->major_version > major_version ||
|
||||
(header->major_version == major_version &&
|
||||
header->minor_version > minor_version))) {
|
||||
fprintf(stderr, "FAILED: %s's version, %d.%d, is newer than "
|
||||
|
|
Загрузка…
Ссылка в новой задаче