Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Issue 194683004: Fix -Wbool-conversion warnings in hunspell. (Closed)

Created:
6 years, 9 months ago by Alexander Potapenko
Modified:
6 years, 9 months ago
Reviewers:
Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Fix -Wbool-conversion warnings in hunspell: ../../third_party/hunspell/src/hunspell/hunspell.cxx:355:7: error: address of array 'this->pHMgr' will always evaluate to 'true' [-Werror,-Wbool-conversion] if (pHMgr) pHMgr[0]->EmptyHentryCache(); ~~ ^~~~~ ../../third_party/hunspell/src/hunspell/hunspell.cxx:718:7: error: address of array 'this->pHMgr' will always evaluate to 'true' [-Werror,-Wbool-conversion] if (pHMgr) pHMgr[0]->EmptyHentryCache(); ~~ ^~~~~ BUG=350358 R=thakis@chromium.org

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M google.patch View 1 2 14 chunks +14 lines, -14 lines 0 comments Download
M src/hunspell/hunspell.cxx View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Alexander Potapenko
PTAL
6 years, 9 months ago (2014-03-11 10:50:43 UTC) #1
Nico
https://codereview.chromium.org/194683004/diff/1/README.chromium File README.chromium (right): https://codereview.chromium.org/194683004/diff/1/README.chromium#newcode24 README.chromium:24: * Fix -Wbool-conversion warnings from Clang in src/hunspell/hunspell.cxx. Since ...
6 years, 9 months ago (2014-03-11 16:40:55 UTC) #2
Alexander Potapenko
https://codereview.chromium.org/194683004/diff/1/README.chromium File README.chromium (right): https://codereview.chromium.org/194683004/diff/1/README.chromium#newcode24 README.chromium:24: * Fix -Wbool-conversion warnings from Clang in src/hunspell/hunspell.cxx. On ...
6 years, 9 months ago (2014-03-11 17:38:47 UTC) #3
Nico
lgtm with the change below https://codereview.chromium.org/194683004/diff/20001/src/hunspell/hunspell.cxx File src/hunspell/hunspell.cxx (left): https://codereview.chromium.org/194683004/diff/20001/src/hunspell/hunspell.cxx#oldcode355 src/hunspell/hunspell.cxx:355: if (pHMgr) pHMgr[0]->EmptyHentryCache(); Several ...
6 years, 9 months ago (2014-03-11 17:42:13 UTC) #4
Alexander Potapenko
Done.
6 years, 9 months ago (2014-03-11 17:49:15 UTC) #5
Alexander Potapenko
The CQ bit was checked by glider@chromium.org
6 years, 9 months ago (2014-03-11 17:49:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/194683004/40001
6 years, 9 months ago (2014-03-11 17:49:35 UTC) #7
commit-bot: I haz the power
6 years, 9 months ago (2014-03-11 17:50:00 UTC) #8
Message was sent while issue was closed.
Change committed as 256272

Powered by Google App Engine
This is Rietveld 408576698