diff --git a/src/plugins/coreplugin/filemanager.cpp b/src/plugins/coreplugin/filemanager.cpp
index 6ec36b5257b7c258fb48c5ece4bb46db157e3c56..b38b5228476eaec08990f53b2b3f4b00e9d3c3fe 100644
--- a/src/plugins/coreplugin/filemanager.cpp
+++ b/src/plugins/coreplugin/filemanager.cpp
@@ -267,9 +267,6 @@ void FileManager::removeFileInfo(IFile *file)
         }
     }
 
-    // The filename might be empty but not null
-    Q_ASSERT(fileName != QString::null);
-
     removeFileInfo(fileName, file);
 }