Author: delphij
Date: Tue Feb 25 00:57:06 2014
New Revision: 262463
URL: http://svnweb.freebsd.org/changeset/base/262463

Log:
  Revert 262462 and 262461, they didn't solve the problem, in
  fact I should actually waited the build to be finished before
  committing.
  
  A proper fix would be committed once my test build passes.
  
  Pointy hat to:        delphij

Modified:
  head/lib/libiconv_modules/VIQR/citrus_viqr.c

Modified: head/lib/libiconv_modules/VIQR/citrus_viqr.c
==============================================================================
--- head/lib/libiconv_modules/VIQR/citrus_viqr.c        Mon Feb 24 23:58:07 
2014        (r262462)
+++ head/lib/libiconv_modules/VIQR/citrus_viqr.c        Tue Feb 25 00:57:06 
2014        (r262463)
@@ -457,18 +457,16 @@ _citrus_VIQR_encoding_module_init(_VIQRE
                        return (errnum);
                }
        }
-       if (mnemonic_ext > 0) {
-               for (i = 0; i < mnemonic_ext_size; ++i) {
-                       p = &mnemonic_ext[i];
-                       n = strlen(p->name);
-                       if (ei->mb_cur_max < n)
-                               ei->mb_cur_max = n;
-                       errnum = mnemonic_append_child(ei->mroot,
-                           p->name, p->value, ei->invalid);
-                       if (errnum != 0) {
-                               _citrus_VIQR_encoding_module_uninit(ei);
-                               return (errnum);
-                       }
+       for (i = 0; i < mnemonic_ext_size; ++i) {
+               p = &mnemonic_ext[i];
+               n = strlen(p->name);
+               if (ei->mb_cur_max < n)
+                       ei->mb_cur_max = n;
+               errnum = mnemonic_append_child(ei->mroot,
+                   p->name, p->value, ei->invalid);
+               if (errnum != 0) {
+                       _citrus_VIQR_encoding_module_uninit(ei);
+                       return (errnum);
                }
        }
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to