File hunspell-uninitialised.patch of Package hunspell

--- src/hunspell/affixmgr.cxx
+++ src/hunspell/affixmgr.cxx
@@ -3757,6 +3757,7 @@
    // split affix header line into pieces
 
    int np = 0;
+   nl = '\0';
    piece = mystrsep(&tp, 0);
    while (piece) {
       if (*piece != '\0') {
--- src/hunspell/hashmgr.cxx.orig	2008-05-06 21:48:25.000000000 +0200
+++ src/hunspell/hashmgr.cxx	2008-05-06 21:48:54.000000000 +0200
@@ -284,6 +284,7 @@
         }
         dp = dp->next_homonym;
     }
+    return 0;
 }
 
 /* remove forbidden flag to add a personal word to the hash */
openSUSE Build Service is sponsored by