ICU-3014 Remove u_init() calls from gennorm, genprops, to stop file creation failures when old data is already present

X-SVN-Rev: 12857
This commit is contained in:
Andy Heninger 2003-08-18 17:34:06 +00:00
parent 9bbe62a2e3
commit e47d124fc4
2 changed files with 0 additions and 26 deletions

View File

@ -72,19 +72,6 @@ main(int argc, char* argv[]) {
char *basename=NULL;
UErrorCode errorCode=U_ZERO_ERROR;
/* Initialize ICU */
u_init(&errorCode);
if (U_FAILURE(errorCode) && errorCode != U_FILE_ACCESS_ERROR) {
/* Note: u_init() will try to open ICU property data.
* failures here are expected when building ICU from scratch.
* ignore them.
*/
fprintf(stderr, "%s: can not initialize ICU. errorCode = %s\n",
argv[0], u_errorName(errorCode));
exit(1);
}
errorCode = U_ZERO_ERROR;
U_MAIN_INIT_ARGS(argc, argv);
/* preset then read command line options */

View File

@ -84,19 +84,6 @@ main(int argc, char* argv[]) {
char *basename=NULL;
UErrorCode errorCode=U_ZERO_ERROR;
/* Initialize ICU */
u_init(&errorCode);
if (U_FAILURE(errorCode) && errorCode != U_FILE_ACCESS_ERROR) {
/* Note: u_init() will try to open ICU property data.
* failures here are expected when building ICU from scratch.
* ignore them.
*/
fprintf(stderr, "%s: can not initialize ICU. errorCode = %s\n",
argv[0], u_errorName(errorCode));
exit(1);
}
errorCode = U_ZERO_ERROR;
U_MAIN_INIT_ARGS(argc, argv);
/* preset then read command line options */