aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Roche <didier.roche@canonical.com>2012-11-16 14:20:55 +0100
committerDidier Roche <didier.roche@canonical.com>2012-11-16 14:20:55 +0100
commitcc47ec017f09dd720aaccb738e949f75e4d6564a (patch)
treef94b9e5573be6f8f26109e989b92fa278d020586
parentc9912e105e53e26e3995d8ecdc62f6f2e69e8b8c (diff)
downloadayatana-indicator-power-cc47ec017f09dd720aaccb738e949f75e4d6564a.tar.gz
ayatana-indicator-power-cc47ec017f09dd720aaccb738e949f75e4d6564a.tar.bz2
ayatana-indicator-power-cc47ec017f09dd720aaccb738e949f75e4d6564a.zip
remove the duplicated case
-rw-r--r--src/device.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/device.c b/src/device.c
index 6f2a809..d028ab7 100644
--- a/src/device.c
+++ b/src/device.c
@@ -532,10 +532,6 @@ device_kind_to_localised_string (UpDeviceKind kind)
/* TRANSLATORS: unknown device */
text = _("Unknown");
break;
- case UP_DEVICE_KIND_UNKNOWN:
- /* TRANSLATORS: unknown device */
- text = _("Unknown");
- break;
default:
g_warning ("enum unrecognised: %i", kind);
text = up_device_kind_to_string (kind);