summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-07-19 13:54:15 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-07-19 13:54:15 +0200
commita440d77c3396d26ebf81f178a933b106f8d2fefb (patch)
tree22f367cc0a15f18a7de6b1709263c54024c2a17e
parent674e3694ac724b1bed475e60c0ab70139ceba286 (diff)
Fix compiling with -Wall/error but no hugin.
-rw-r--r--drumgizmo/drumgizmoc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 612973f..6111c72 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -122,8 +122,10 @@ int CliMain::run(int argc, char *argv[])
{
int c;
+#ifndef DISABLE_HUGIN
const char *hugin_filter = "+all";
unsigned int hugin_flags = HUG_FLAG_OUTPUT_TO_STDOUT;
+#endif/*DISABLE_HUGIN*/
std::string outputengine;
std::string inputengine;