summaryrefslogtreecommitdiff
path: root/lib/bluetooth-utils.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-12-10 11:10:53 +0100
committerBastien Nocera <hadess@hadess.net>2013-12-11 14:20:35 +0100
commita8e2be9cb386f186894d8f1044f903c83f81aa80 (patch)
tree32f5595aacf5c3fbd2a57fd763d9729fec906b0a /lib/bluetooth-utils.c
parent1ae0766fff87ee7bbe496513f48df0cca986adf4 (diff)
downloadgnome-bluetooth-a8e2be9cb386f186894d8f1044f903c83f81aa80.tar.gz
lib: Warning for missing case statements in type_to_string
To make sure we see warnings when new device types are added, remove the default case in the switch.
Diffstat (limited to 'lib/bluetooth-utils.c')
-rw-r--r--lib/bluetooth-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bluetooth-utils.c b/lib/bluetooth-utils.c
index a6ea5696..fa1f9c97 100644
--- a/lib/bluetooth-utils.c
+++ b/lib/bluetooth-utils.c
@@ -86,9 +86,9 @@ bluetooth_type_to_string (BluetoothType type)
return _("Tablet");
case BLUETOOTH_TYPE_VIDEO:
return _("Video device");
- default:
- return _("Unknown");
}
+
+ return _("Unknown");
}
/**