Chromium Code Reviews| Index: src/hunspell/hunspell.cxx |
| =================================================================== |
| --- src/hunspell/hunspell.cxx (revision 206172) |
| +++ src/hunspell/hunspell.cxx (working copy) |
| @@ -352,7 +352,7 @@ |
| int Hunspell::spell(const char * word, int * info, char ** root) |
| { |
| #ifdef HUNSPELL_CHROME_CLIENT |
| - if (pHMgr) pHMgr[0]->EmptyHentryCache(); |
|
Nico
2014/03/11 16:40:55
Can you paste the warning? (Often a good idea to i
Alexander Potapenko
2014/03/11 17:38:48
Updated the CL description.
Maybe it used to be a
|
| + pHMgr[0]->EmptyHentryCache(); |
| #endif |
| struct hentry * rv=NULL; |
| // need larger vector. For example, Turkish capital letter I converted a |
| @@ -715,7 +715,7 @@ |
| int Hunspell::suggest(char*** slst, const char * word) |
| { |
| #ifdef HUNSPELL_CHROME_CLIENT |
| - if (pHMgr) pHMgr[0]->EmptyHentryCache(); |
| + pHMgr[0]->EmptyHentryCache(); |
| #endif |
| int onlycmpdsug = 0; |
| char cw[MAXWORDUTF8LEN]; |