#if !defined(_WIN32)
char cmd[256];
sprintf(cmd, "mv %s %s", tmpName, outFile);
- int tmp = system(cmd);
+ system(cmd);
#else
if (rename(tmpName, outFile) != 0) {
remove(tmpName);
//---------------------------------------
int vnFileStreamConvert(int inCharset, int outCharset, FILE * inf, FILE *outf)
{
- int ret = 0;
-
VnCharset *pInCharset = VnCharsetLibObj.getVnCharset(inCharset);
VnCharset *pOutCharset = VnCharsetLibObj.getVnCharset(outCharset);