diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-06-03 18:48:44 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-06-03 18:48:44 +0200 |
commit | c7a85aa3d0b58a85786063797a3c2e0a77d83bb7 (patch) | |
tree | 7732fa279db5042ae7c87b0b95ee344bc743fc45 /example | |
parent | 6f3fbb34d504d9951a4f405d7bbf53ae4be53f30 (diff) | |
download | cmocka-c7a85aa3d0b58a85786063797a3c2e0a77d83bb7.tar.gz cmocka-c7a85aa3d0b58a85786063797a3c2e0a77d83bb7.tar.xz cmocka-c7a85aa3d0b58a85786063797a3c2e0a77d83bb7.zip |
example: Fix a build warning.
Diffstat (limited to 'example')
-rw-r--r-- | example/chef_wrap/waiter_test_wrap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/example/chef_wrap/waiter_test_wrap.c b/example/chef_wrap/waiter_test_wrap.c index 01afa15..a981967 100644 --- a/example/chef_wrap/waiter_test_wrap.c +++ b/example/chef_wrap/waiter_test_wrap.c @@ -104,11 +104,11 @@ static int waiter_process(const char *order, char **dish) static void test_order_hotdog(void **state) { - (void) state; /* unused */ - int rv; char *dish; + (void) state; /* unused */ + /* We expect the chef to receive an order for a hotdog */ expect_string(__wrap_chef_cook, order, "hotdog"); /* And we tell the test chef that ke knows how to cook a hotdog @@ -131,11 +131,11 @@ static void test_order_hotdog(void **state) static void test_bad_dish(void **state) { - (void) state; /* unused */ - int rv; char *dish; + (void) state; /* unused */ + /* We expect the chef to receive an order for a hotdog */ expect_string(__wrap_chef_cook, order, "hotdog"); /* And we tell the test chef that ke knows how to cook a hotdog |