summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-02-24 19:29:41 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-02-24 19:29:41 +0100
commit71c85896d4552bf95927d2e326370c00df88db06 (patch)
tree37dffa6b07c88bbb6559c9b1d9d80fdfd790a2d2 /test
parent4a48b79303a33d919293215082e5a61b751d2267 (diff)
test: init endpoint pointers to NULL
Diffstat (limited to 'test')
-rw-r--r--test/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/message.c b/test/message.c
index 467fd8a..1120645 100644
--- a/test/message.c
+++ b/test/message.c
@@ -168,7 +168,7 @@ static int endpoint_alloc(struct endpoint **epp, struct test *test,
static int test_message_transp(enum sip_transp transp)
{
struct test test;
- struct endpoint *a, *b;
+ struct endpoint *a = NULL, *b = NULL;
bool enable_udp, enable_tcp;
int err = 0;