[gvfs] gvfs-set-attribute: Remove non-enum switch case
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] gvfs-set-attribute: Remove non-enum switch case
- Date: Tue, 7 Dec 2010 11:08:49 +0000 (UTC)
commit da7435aea66b6acf9129c656d49f044ba40e4393
Author: Benjamin Otte <otte redhat com>
Date: Tue Dec 7 11:51:29 2010 +0100
gvfs-set-attribute: Remove non-enum switch case
The case resolved to the default anyway.
programs/gvfs-set-attribute.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/programs/gvfs-set-attribute.c b/programs/gvfs-set-attribute.c
index e88739c..be3713f 100644
--- a/programs/gvfs-set-attribute.c
+++ b/programs/gvfs-set-attribute.c
@@ -189,7 +189,6 @@ main (int argc, char *argv[])
case G_FILE_ATTRIBUTE_TYPE_INVALID:
value = NULL;
break;
- case -1:
case G_FILE_ATTRIBUTE_TYPE_OBJECT:
default:
g_printerr (_("Invalid attribute type %s\n"), attr_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]