summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-18 13:28:48 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-18 13:28:48 -0400
commit511ee4e6f427302d461b212a7c68b3eed179b0cc (patch)
tree8f9dc8d4bafa1c41a2ba9b16cc71908adf5a1cd0 /src
parent3b161da0ceb62e606a3cbcc98b5e16c78253a84c (diff)
tests/eldbus: add va_end for va_args usage in message test
Summary: CIDs 1400977, 1400974 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10390
Diffstat (limited to 'src')
-rw-r--r--src/tests/eldbus/eldbus_test_eldbus_message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eldbus/eldbus_test_eldbus_message.c b/src/tests/eldbus/eldbus_test_eldbus_message.c
index 4a73967..e8b83a8 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_message.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_message.c
@@ -451,7 +451,7 @@ _vget_response(char *str,...)
451 451
452 va_start(ap, str); 452 va_start(ap, str);
453 if (!eldbus_message_arguments_vget(message_vget, str, ap)) 453 if (!eldbus_message_arguments_vget(message_vget, str, ap))
454 return; 454 printf("%s:%u failed\n", __FILE__, __LINE__);
455 455
456 va_end(ap); 456 va_end(ap);
457} 457}
@@ -531,7 +531,7 @@ _vget_iter_response(Eldbus_Message_Iter *iter,...)
531 531
532 va_start(ap, iter); 532 va_start(ap, iter);
533 if (!eldbus_message_iter_arguments_vget(iter, "i", ap)) 533 if (!eldbus_message_iter_arguments_vget(iter, "i", ap))
534 return; 534 printf("%s:%u failed\n", __FILE__, __LINE__);
535 535
536 va_end(ap); 536 va_end(ap);
537} 537}