Mercurial > freewnn
comparison Wnn/jutil/atof.c @ 28:a7ccf412ba02
more warning suppression
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 06 Mar 2010 23:24:53 +0900 |
parents | bbc77ca4def5 |
children |
comparison
equal
deleted
inserted
replaced
27:6bfa7ea3b75b | 28:a7ccf412ba02 |
---|---|
32 /* | 32 /* |
33 Fuzokugo file convert command. | 33 Fuzokugo file convert command. |
34 Standard input UJIS format. | 34 Standard input UJIS format. |
35 Standard output jserver format. | 35 Standard output jserver format. |
36 */ | 36 */ |
37 | |
38 #ifndef lint | |
39 static char *rcs_id = "$Id: atof.c,v 1.7 2002/07/14 04:26:57 hiroo Exp $"; | |
40 #endif /* lint */ | |
41 | 37 |
42 /* | 38 /* |
43 UJIS FORMAT | 39 UJIS FORMAT |
44 | 40 |
45 \attribute | 41 \attribute |
507 */ | 503 */ |
508 if (wnn_loadhinsi (hinsi_file_name) < 0) | 504 if (wnn_loadhinsi (hinsi_file_name) < 0) |
509 error_format ("Cannot open hinsi.data\n"); | 505 error_format ("Cannot open hinsi.data\n"); |
510 for (idn = 0; idn < mhinsi; idn++) | 506 for (idn = 0; idn < mhinsi; idn++) |
511 { | 507 { |
512 if (d = wnn_get_hinsi_name (idn)) | 508 if ((d = wnn_get_hinsi_name (idn))) |
513 { | 509 { |
514 set_heap (&id[id_num].str, d); | 510 set_heap (&id[id_num].str, d); |
515 id[id_num++].bit = idn; | 511 id[id_num++].bit = idn; |
516 } | 512 } |
517 if (id_num >= ID_KOSUU) | 513 if (id_num >= ID_KOSUU) |