[gvfs] gvfs-set-attribute: Remove non-enum switch case



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]