Remove unnessesary union
authorDennis Schafroth <dennis@indexdata.com>
Fri, 18 Feb 2011 12:47:59 +0000 (13:47 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 18 Feb 2011 12:47:59 +0000 (13:47 +0100)
src/stemmer.c

index e67d9b1..cdc1053 100644 (file)
@@ -27,9 +27,7 @@ struct yaz_stemmer_t
     // Required for cloning.
     char *locale;
     char *rule;
-    union {
-        struct sb_stemmer *sb_stemmer;
-    };
+    struct sb_stemmer *sb_stemmer;
 };
 
 const char* yaz_stemmer_lookup_charenc(const char *charenc, const char *rule) {