summaryrefslogtreecommitdiff
path: root/main_simple.c
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-02-19 10:59:35 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2014-02-19 10:59:35 +0100
commite1e5b5fd7fc277a355a90ae0840965afdba4b16a (patch)
tree1b9a3b15a6cf591aaa7c0dcdea3f1678e68acd95 /main_simple.c
parent794df88388d055e8dd9ecac89abca735796b4de4 (diff)
Add some more args and revert division by zero.
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();