Skip to content

Replace abort() with Q_ASSERT and Q_UNREACHABLE

Vlad Zahorodnii requested to merge work/zzag/abort-to-unreachable into master

This change replaces abort() with Q_ASSERT and Q_UNREACHABLE() macros to make kwin code base consistent. Besides that, Q_UNREACHABLE may potentially provide the compiler more info that can be used to generate more efficient machine code.

Merge request reports