[recipes/meson2: 7/19] Don't warn about unused function if gnome-autoar is not enabled
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes/meson2: 7/19] Don't warn about unused function if gnome-autoar is not enabled
- Date: Sat, 18 Feb 2017 19:57:59 +0000 (UTC)
commit 3969d3ec07f67a28f6bb5062944a4eaed14b143c
Author: Nirbheek Chauhan <nirbheek centricular com>
Date: Sat Feb 18 22:54:30 2017 +0530
Don't warn about unused function if gnome-autoar is not enabled
src/gr-recipe-exporter.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-recipe-exporter.c b/src/gr-recipe-exporter.c
index 565ebdf..3908d6f 100644
--- a/src/gr-recipe-exporter.c
+++ b/src/gr-recipe-exporter.c
@@ -184,6 +184,9 @@ decide_dest_cb (AutoarCompressor *compressor,
#endif
static gboolean
+#ifndef ENABLE_AUTOAR
+G_GNUC_UNUSED
+#endif
export_one_recipe (GrRecipeExporter *exporter,
GrRecipe *recipe,
GKeyFile *keyfile,
@@ -290,6 +293,9 @@ export_one_recipe (GrRecipeExporter *exporter,
}
static gboolean
+#ifndef ENABLE_AUTOAR
+G_GNUC_UNUSED
+#endif
export_one_chef (GrRecipeExporter *exporter,
GrChef *chef,
GKeyFile *keyfile,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]