[libgxps/wip/nacho/visibility: 1/7] Fix useless warnings
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps/wip/nacho/visibility: 1/7] Fix useless warnings
- Date: Fri, 9 Sep 2016 14:34:18 +0000 (UTC)
commit 40c107af66f51b1c05229513ec1f1c04268c3dd9
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date: Fri Sep 9 15:48:42 2016 +0200
Fix useless warnings
https://bugzilla.gnome.org/show_bug.cgi?id=771057
libgxps/gxps-glyphs.c | 2 ++
libgxps/gxps-path.c | 4 ++++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libgxps/gxps-glyphs.c b/libgxps/gxps-glyphs.c
index 26bce59..0618720 100644
--- a/libgxps/gxps-glyphs.c
+++ b/libgxps/gxps-glyphs.c
@@ -108,6 +108,8 @@ glyphs_indices_token_type_to_string (GlyphsIndicesTokenType type)
default:
g_assert_not_reached ();
}
+
+ return NULL;
}
static gboolean
diff --git a/libgxps/gxps-path.c b/libgxps/gxps-path.c
index 1ff091d..c9560d8 100644
--- a/libgxps/gxps-path.c
+++ b/libgxps/gxps-path.c
@@ -99,6 +99,8 @@ path_data_token_type_to_string (PathDataTokenType type)
default:
g_assert_not_reached ();
}
+
+ return NULL;
}
#ifdef GXPS_ENABLE_DEBUG
@@ -124,6 +126,8 @@ print_token (PathDataToken *token)
default:
g_assert_not_reached ();
}
+
+ return NULL;
}
#endif /* GXPS_ENABLE_DEBUG */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]