This commit is contained in:
2022-04-04 12:45:19 +02:00
parent b875a95bd5
commit f712847061

View File

@ -643,8 +643,6 @@ int createEmptyFile(char *mess, char *fname, char *errorPrefix) {
int deleteFile(char *mess, char *fname, char *errorPrefix) { int deleteFile(char *mess, char *fname, char *errorPrefix) {
const int fileNameSize = 128; const int fileNameSize = 128;
char fullname[fileNameSize]; char fullname[fileNameSize];
strcpy(fullname, fname);
if (getAbsPath(fullname, fileNameSize, fname) == FAIL) { if (getAbsPath(fullname, fileNameSize, fname) == FAIL) {
sprintf(mess, sprintf(mess,
"Could not %s. Could not get abs path of current " "Could not %s. Could not get abs path of current "