kmix: remove redundant __GNUC__ checks

#warning is supported by clang aswell

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-06 03:42:50 +02:00
parent a4a1991208
commit 02f9d326c0
2 changed files with 1 additions and 5 deletions

View file

@ -111,9 +111,7 @@ void KMixD::saveConfig()
kDebug() << "About to save config";
saveBaseConfig();
saveVolumes();
#ifdef __GNUC_
#warn We must Sync here, or we will lose configuration data. The reson for that is unknown.
#endif
#warning We must Sync here, or we will lose configuration data. The reson for that is unknown.
kDebug() << "Saved config ... now syncing explicitly";
KGlobal::config()->sync();

View file

@ -23,14 +23,12 @@
#undef TEST_MIXDEVICE_COMPOSITE
#ifdef TEST_MIXDEVICE_COMPOSITE
#ifdef __GNUC__
#warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#warning !!! MIXDEVICE COMPOSITE TESTING IS ACTIVATED !!!
#warning !!! THIS IS PRE-ALPHA CODE! !!!
#warning !!! DO NOT SHIP KMIX IN THIS STATE !!!
#warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#endif
#endif
#include "gui/viewsliders.h"