summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-24 17:04:40 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-24 17:04:40 +0100
commite2d666386638fef562769b7c4cebb3a957612f12 (patch)
treec19d5e5d00287b2563f9b68b82e37dbc4f77e980
parent6d14b2b45c111bc99d6ecbbf81b30edbdd61a191 (diff)
test-tpl-log-store-xml: don't ignore system() return value so gcc is happy
-rw-r--r--tests/dbus/test-tpl-log-store-xml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c
index 0cce44baf..69417d46f 100644
--- a/tests/dbus/test-tpl-log-store-xml.c
+++ b/tests/dbus/test-tpl-log-store-xml.c
@@ -80,7 +80,9 @@ teardown (XmlTestCaseFixture *fixture,
if (fixture->tmp_basedir != NULL)
{
gchar *command = g_strdup_printf ("rm -rf %s", fixture->tmp_basedir);
- system (command);
+ int res;
+
+ res = system (command);
g_free (fixture->tmp_basedir);
}