gecko-dev/toolkit/components/statusfilter
Chris Peterson f6bbb6a455 Bug 1356843 - Fix -Wcomma warnings in toolkit/. r=mossop
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements or 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.

toolkit/components/startup/nsAppStartup.cpp:436:58 [-Wcomma] possible misuse of comma operator here
toolkit/components/statusfilter/nsBrowserStatusFilter.cpp:165:66 [-Wcomma] possible misuse of comma operator here
toolkit/xre/CreateAppData.cpp:60:51 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: HuZRoOjQTGj

--HG--
extra : rebase_source : c159e26d619b960163fda11069e722010a21d2f8
extra : source : c405a2ab8ec4b6b96373fe3812a6d30bb0641d6f
2017-04-05 01:23:45 -07:00
..
moz.build Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop 2017-04-09 05:43:43 -04:00
nsBrowserStatusFilter.cpp Bug 1356843 - Fix -Wcomma warnings in toolkit/. r=mossop 2017-04-05 01:23:45 -07:00
nsBrowserStatusFilter.h