[gnome-commander] Fix gcc switch-enum warnings



commit 012272a52fe6bb827390113c10ba27983c1c0eac
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sun Apr 16 21:13:57 2017 +0200

    Fix gcc switch-enum warnings

 src/tags/gnome-cmd-tags.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tags/gnome-cmd-tags.cc b/src/tags/gnome-cmd-tags.cc
index 60d2c01..e6f3007 100644
--- a/src/tags/gnome-cmd-tags.cc
+++ b/src/tags/gnome-cmd-tags.cc
@@ -636,6 +636,7 @@ GnomeCmdTag gcmd_tags_get_tag_by_name(const gchar *tag_name, const GnomeCmdTagCl
                 t.name = "Vorbis.";
                 break;
 
+            case TAG_NONE_CLASS:
             default:
                 t.name = empty_string;
                 break;
@@ -713,6 +714,7 @@ const gchar *gcmd_tags_get_class_name(const GnomeCmdTag tag)
         case TAG_VORBIS:
             return "Vorbis";
 
+        case TAG_NONE_CLASS:
         default:
             break;
     }
@@ -732,6 +734,7 @@ const std::string gcmd_tags_get_value_string(GnomeCmdFile *f, const GnomeCmdTag
         case TAG_IMAGE:
         case TAG_EXIF :
         case TAG_IPTC :
+        case TAG_ICC  :
 #ifndef HAVE_EXIV2
                         return _(no_support_for_exiv2_tags_string);
 #endif
@@ -778,6 +781,7 @@ const std::string gcmd_tags_get_value_string(GnomeCmdFile *f, const GnomeCmdTag
 
         case TAG_RPM  : break;
 
+        case TAG_NONE_CLASS:
         default:        break;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]