From: handa Date: Fri, 11 Mar 2005 12:32:35 +0000 (+0000) Subject: (m17n_init): Set merror_code to MERROR_NONE at first. X-Git-Tag: REL-1-3-0~352 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03dbef0a4b4138f731b04fcfb62004bde58979af;p=m17n%2Fm17n-lib.git (m17n_init): Set merror_code to MERROR_NONE at first. --- diff --git a/src/m17n.c b/src/m17n.c index 9ac7d8e..d1e7672 100644 --- a/src/m17n.c +++ b/src/m17n.c @@ -42,9 +42,9 @@ m17n_init (void) { int mdebug_mask = MDEBUG_INIT; + merror_code == MERROR_NONE; if (m17n__shell_initialized++) return; - merror_code == MERROR_NONE; m17n_init_core (); if (merror_code != MERROR_NONE) {