From 98982331cb7709d90d0f0bc09621cd8fbb791fb0 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 20 Jun 2012 18:58:31 +0100 Subject: [PATCH] conform/script: Add the return type for the margin test The compiler would default to 'int', and warn - and then warn again because the function would not return a value. --- tests/conform/script-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conform/script-parser.c b/tests/conform/script-parser.c index 8c2ae7cd0..0b455e180 100644 --- a/tests/conform/script-parser.c +++ b/tests/conform/script-parser.c @@ -399,6 +399,7 @@ script_layout_property (TestConformSimpleFixture *fixture, g_object_unref (script); } +void script_margin (TestConformSimpleFixture *fixture, gpointer dummy) { @@ -441,4 +442,3 @@ script_margin (TestConformSimpleFixture *fixture, g_object_unref (script); g_free (test_file); } -