[recipes] 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] Don't warn about unused function if gnome-autoar is not enabled
- Date: Sun, 19 Feb 2017 01:57:17 +0000 (UTC)
commit be4226e989117edea9fa700e99f5d84f87afca59
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 c35763f..f4258cb 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,
@@ -283,6 +286,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]