[ostree] core: quiet a compiler warning



commit 5a51bee0244abd3d064d291d27c3c03a144f5f0c
Author: Colin Walters <walters verbum org>
Date:   Wed Oct 17 20:54:52 2012 -0400

    core: quiet a compiler warning

 src/libostree/ostree-repo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index 9dd53da..7555be7 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -1254,6 +1254,8 @@ scan_loose_devino (OstreeRepo                     *self,
             case OSTREE_REPO_MODE_BARE:
               skip = !g_str_has_suffix (name, ".file");
               break;
+            default:
+              g_assert_not_reached ();
             }
           if (skip)
             continue;



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