diff --git a/lib/libimhex/source/helpers/utils.cpp b/lib/libimhex/source/helpers/utils.cpp index 1136935d5..ba1840460 100644 --- a/lib/libimhex/source/helpers/utils.cpp +++ b/lib/libimhex/source/helpers/utils.cpp @@ -861,7 +861,7 @@ namespace hex { errorMessageMacos(message.c_str()); #elif defined(OS_LINUX) if (std::system(fmt::format(R"(zenity --error --text="{}")", message).c_str()) != 0) { - std::system(fmt::format(R"(notify-send -i "net.werwolv.ImHex" "Error" "{}")", message).c_str()); + std::ignore = std::system(fmt::format(R"(notify-send -i "net.werwolv.ImHex" "Error" "{}")", message).c_str()); } #elif defined(OS_WEB) EM_ASM({ @@ -906,7 +906,7 @@ namespace hex { toastMessageMacos(title.c_str(), message.c_str()); #elif defined(OS_LINUX) if (std::system(fmt::format(R"(notify-send -i "net.werwolv.ImHex" "{}" "{}")", title, message).c_str()) != 0) { - std::system(fmt::format(R"(zenity --info --title="{}" --text="{}")", title, message).c_str()); + std::ignore = std::system(fmt::format(R"(zenity --info --title="{}" --text="{}")", title, message).c_str()); } #elif defined(OS_WEB) EM_ASM({