Resolves: rhbz#648740 thousands of trailing empty rules spew

This commit is contained in:
Caolán McNamara 2010-11-05 20:01:06 +00:00
parent 651e72c5cd
commit a744e2346f

16
backport.warnings.patch Normal file
View File

@ -0,0 +1,16 @@
Index: src/hunspell/hashmgr.cxx
===================================================================
RCS file: /cvsroot/hunspell/hunspell/src/hunspell/hashmgr.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- src/hunspell/hashmgr.cxx 12 Oct 2010 13:46:14 -0000 1.9
+++ src/hunspell/hashmgr.cxx 5 Nov 2010 16:31:44 -0000 1.10
@@ -492,7 +492,6 @@
int HashMgr::decode_flags(unsigned short ** result, char * flags, FileMgr * af) {
int len;
if (*flags == '\0') {
- HUNSPELL_WARNING(stderr, "error: line %d: bad flagvector\n", af->getlinenum());
*result = NULL;
return 0;
}