some compil warning fixes

This commit is contained in:
Jacek Jendrzej
2016-04-22 16:46:21 +02:00
parent f78fc97fe3
commit 8638cd73b7
6 changed files with 12 additions and 12 deletions

View File

@@ -706,8 +706,6 @@ record_error_msg_t CRecordInstance::MakeFileName(CZapitChannel * channel)
MakeExtFileName(channel, ext_file_name);
strcpy(&(filename[pos]), UTF8_TO_FILESYSTEM_ENCODING(ext_file_name.c_str()));
pos = strlen(filename);
if(autoshift)
strncat(filename, "_temp",FILENAMEBUFFERSIZE - strlen(filename)-1);