ICU-900 Fixed compiler warnings
X-SVN-Rev: 4781
This commit is contained in:
parent
291615ee88
commit
259ad06916
@ -230,7 +230,7 @@ processFile(const char *filename, const char *cp, const char *inputDir, const ch
|
||||
ucbuf = ucbuf_open(in,cp,status);
|
||||
|
||||
/* Parse the data into an SRBRoot */
|
||||
data = parse(ucbuf, cp, inputDir, status);
|
||||
data = parse(ucbuf, inputDir, status);
|
||||
|
||||
/* Determine the target rb filename */
|
||||
rbname = make_res_filename(filename, outputDir, status);
|
||||
|
@ -212,7 +212,7 @@ int32_t lineCount = 0;
|
||||
char lastTag[200] = "";
|
||||
|
||||
struct SRBRoot*
|
||||
parse(UCHARBUF* buf, const char *cp, const char *inputDir,
|
||||
parse(UCHARBUF* buf, const char *inputDir,
|
||||
UErrorCode *status)
|
||||
{
|
||||
enum ETokenType type;
|
||||
@ -436,7 +436,6 @@ parse(UCHARBUF* buf, const char *cp, const char *inputDir,
|
||||
importFile = T_FileStream_open(fileName, "rb");
|
||||
} else {
|
||||
char *openFileName = NULL;
|
||||
int32_t dirlen = uprv_strlen(inputDir);
|
||||
int32_t filelen = uprv_strlen(fileName);
|
||||
if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) {
|
||||
openFileName = (char *) uprv_malloc(dirlen+filelen+2);
|
||||
|
@ -24,6 +24,6 @@
|
||||
#include "ucbuf.h"
|
||||
|
||||
/* Parse a ResourceBundle text file */
|
||||
struct SRBRoot* parse(UCHARBUF* buf, const char *cp, const char* inputDir, UErrorCode *status);
|
||||
struct SRBRoot* parse(UCHARBUF* buf, const char* inputDir, UErrorCode *status);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user