diff --git a/oscar/SleepLib/loader_plugins/resmed_loader.cpp b/oscar/SleepLib/loader_plugins/resmed_loader.cpp index 506efad4..f67fa479 100644 --- a/oscar/SleepLib/loader_plugins/resmed_loader.cpp +++ b/oscar/SleepLib/loader_plugins/resmed_loader.cpp @@ -1087,6 +1087,7 @@ int ResmedLoader::scanFiles(Machine * mach, const QString & datalog_path, QDate if (fi.size() == 0) { qWarning() << fi.fileName() << "is empty and has been ignored"; continue; + } filename = fi.fileName();