summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-01 22:48:49 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-01 22:48:49 +0200
commita434b0b0e4a9bfd69f8fa6ba9a49b4f80b42f821 (patch)
treec763aabf20dba1a01038c4fd7ca91635199e622e /tests
parent740dabaf82f510e3d98544f7a9cb0752709f8f23 (diff)
downloadsocket_wrapper-a434b0b0e4a9bfd69f8fa6ba9a49b4f80b42f821.tar.gz
socket_wrapper-a434b0b0e4a9bfd69f8fa6ba9a49b4f80b42f821.tar.xz
socket_wrapper-a434b0b0e4a9bfd69f8fa6ba9a49b4f80b42f821.zip
test: Initialize the remove_cmd buffer.
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c
index 6bc35ff..c95066b 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -28,7 +28,7 @@ static void setup(void **state)
static void teardown(void **state)
{
- char remove_cmd[256];
+ char remove_cmd[256] = {0};
const char *swrap_dir = getenv("SOCKET_WRAPPER_DIR");
(void) state; /* unused */