ICU-6176 Undo last change. The warning was bad.
X-SVN-Rev: 23415
This commit is contained in:
parent
928d6152bc
commit
61d27ac692
@ -255,10 +255,7 @@ main(int argc, char* argv[]) {
|
||||
char *end;
|
||||
|
||||
uprv_strcpy(pathBuf, path);
|
||||
end = uprv_strrchr(pathBuf, 0);
|
||||
if (end == NULL) {
|
||||
end = pathBuf+strlen(pathBuf);
|
||||
}
|
||||
end = uprv_strchr(pathBuf, 0);
|
||||
if(*(end-1)!=U_FILE_SEP_CHAR) {
|
||||
*(end++)=U_FILE_SEP_CHAR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user