gecko-dev/xpfe
Chris Peterson 9ada4daeec Bug 1356843 - Fix -Wcomma warning in xpfe/appshell/nsXULWindow.cpp. r=mstange
clang's -Wcomma warning warns about suspicious use of the comma operator such as calling a function for side effects within an expression. Check NS_SUCCEEDED() to use HasMoreElement() in an expression and confirm that it actually returned a legitimate out parameter.

xpfe/appshell/nsXULWindow.cpp:2154:50 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: Dbe4NDDhqY1

--HG--
extra : rebase_source : 01b88b7b7789d71a33af7b6a80ff0ff0b85dda16
extra : source : 3d2f990182f48c7ad8d132f2dae465e0cfa23530
2017-04-08 00:59:47 -07:00
..
appshell Bug 1356843 - Fix -Wcomma warning in xpfe/appshell/nsXULWindow.cpp. r=mstange 2017-04-08 00:59:47 -07:00
components Bug 1341808 - annotate xpfe/* with BUG_COMPONENTS. r=enndeakin 2017-04-06 07:29:57 -04:00