remove useless check

This commit is contained in:
chenuduss
2025-11-19 13:44:02 +03:00
parent fc905d9ea4
commit 63cc4fb919

View File

@@ -580,7 +580,7 @@ int Multipart::process_part_data(std::string *error, size_t offset) {
m_mpp->m_tmp_file->Open(); m_mpp->m_tmp_file->Open();
/* do we have an opened file? */ /* do we have an opened file? */
if (!m_mpp->m_tmp_file || m_mpp->m_tmp_file->getFd() < 0) { if (m_mpp->m_tmp_file->getFd() < 0) {
ms_dbg_a(m_transaction, 1, ms_dbg_a(m_transaction, 1,
"Multipart: Failed to create file: " \ "Multipart: Failed to create file: " \
+ m_mpp->m_tmp_file->getFilename()); + m_mpp->m_tmp_file->getFilename());