[mutter] monitor-manager: Shut up a compiler warning
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] monitor-manager: Shut up a compiler warning
- Date: Fri, 14 Jul 2017 14:57:16 +0000 (UTC)
commit 8b5d34b24a76ba91dc58a00586722bd14efff9cd
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Jul 14 16:54:53 2017 +0200
monitor-manager: Shut up a compiler warning
Add a default switch statement to make it clear that 'transform'
won't be used uninitialized.
src/backends/meta-monitor-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c
index 166d9a3..f83f391 100644
--- a/src/backends/meta-monitor-manager.c
+++ b/src/backends/meta-monitor-manager.c
@@ -654,6 +654,7 @@ orientation_changed (MetaOrientationManager *orientation_manager,
break;
case META_ORIENTATION_UNDEFINED:
+ default:
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]