From 32ae97d7648cb0d27e44b69a69ff2d7e37935676 Mon Sep 17 00:00:00 2001 From: pavlik_dev <121434853+pavliktt@users.noreply.github.com> Date: Sat, 24 Aug 2024 16:24:34 +0300 Subject: [PATCH] Update main.cpp --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 282d824..c3e0ce1 100644 --- a/main.cpp +++ b/main.cpp @@ -303,7 +303,9 @@ int main(int argc, char *argv[]) // delete[] temp; std::string name = basename(full_name); if(!is_file) name += "/"; + #ifndef NO_MIME std::string mime_type = get_mime(full_name); + #endif FileType file; #ifdef NO_MIME file = (is_file) ? FileType::File : FileType::Folder;