ICU-3500 Fix some compiler warnings.

X-SVN-Rev: 15068
This commit is contained in:
George Rhoten 2004-04-28 00:11:02 +00:00
parent 87bf19f73e
commit 9037b8e154

View File

@ -341,7 +341,7 @@ pkg_mak_writeObjRules(UPKGOptions *o, FileStream *makefile, CharList **objects,
/* search for tree.. */
const char *tchar;
char tree[1024];
if(tchar=uprv_strchr(baseName, '/')) {
if((tchar=uprv_strchr(baseName, '/'))) {
tree[0]='_';
strncpy(tree+1,baseName,tchar-baseName);
tree[tchar-baseName+1]=0;