tests/eldbus: add va_end for va_args usage in message test
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 18 Oct 2019 17:28:48 +0000 (13:28 -0400)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:18:26 +0000 (11:18 +0900)
Summary: CIDs 1400977, 1400974

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: devilhorns, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10390

src/tests/eldbus/eldbus_test_eldbus_message.c

index 4a73967..e8b83a8 100644 (file)
@@ -451,7 +451,7 @@ _vget_response(char *str,...)
 
    va_start(ap, str);
    if (!eldbus_message_arguments_vget(message_vget, str, ap))
-     return;
+     printf("%s:%u failed\n", __FILE__, __LINE__);
 
    va_end(ap);
 }
@@ -531,7 +531,7 @@ _vget_iter_response(Eldbus_Message_Iter *iter,...)
 
    va_start(ap, iter);
    if (!eldbus_message_iter_arguments_vget(iter, "i", ap))
-     return;
+     printf("%s:%u failed\n", __FILE__, __LINE__);
 
    va_end(ap);
 }