mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00

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. extensions/spellcheck/src/mozSpellChecker.cpp:532:54 [-Wcomma] possible misuse of comma operator here MozReview-Commit-ID: 3GnKVvx8Nu4 --HG-- extra : rebase_source : 0ceaaad16e3d701e24029e431a9d577e9636d626 extra : source : ceb864752cc324d629118d44f22a01d9594b26fd