summaryrefslogtreecommitdiff
path: root/main_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'main_simple.c')
-rw-r--r--main_simple.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main_simple.c b/main_simple.c
index 07b577d..60d57ac 100644
--- a/main_simple.c
+++ b/main_simple.c
@@ -57,9 +57,11 @@ int main(int argc, char *argv[])
INFO(example, "We are up and running");
- DEBUG(example, "Or are we %d?", 42);
+ DEBUG(example, "Or are we %d %s?", 42, "hello");
- DEBUG(foo, "Or are we %d?", 42);
+ const char bar[] = "bar";
+ (void)bar; // Ignore if compiled with hugin disabled.
+ DEBUG(foo, "Or are we %d %s?", 42, bar);
hug_close();