summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-07 11:51:29 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-07 11:51:29 +0100
commitda7435aea66b6acf9129c656d49f044ba40e4393 (patch)
treeda9c42a081b99a7c633be3810b9a0ccaf75a1d03
parentf5d24f702a1b8d13eb24069ec0fe2f0e88392e08 (diff)
downloadgvfs-da7435aea66b6acf9129c656d49f044ba40e4393.tar.gz
gvfs-set-attribute: Remove non-enum switch case
The case resolved to the default anyway.
-rw-r--r--programs/gvfs-set-attribute.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/programs/gvfs-set-attribute.c b/programs/gvfs-set-attribute.c
index e88739c2..be3713fc 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);