diff --git a/slsDetectorServers/slsDetectorServer/src/common.c b/slsDetectorServers/slsDetectorServer/src/common.c index ffefbb231..727fe28e9 100644 --- a/slsDetectorServers/slsDetectorServer/src/common.c +++ b/slsDetectorServers/slsDetectorServer/src/common.c @@ -643,8 +643,6 @@ int createEmptyFile(char *mess, char *fname, char *errorPrefix) { int deleteFile(char *mess, char *fname, char *errorPrefix) { const int fileNameSize = 128; char fullname[fileNameSize]; - strcpy(fullname, fname); - if (getAbsPath(fullname, fileNameSize, fname) == FAIL) { sprintf(mess, "Could not %s. Could not get abs path of current "