Skip to content

Commit e2bab4a

Browse files
Merge pull request #1443 from lplewa/coverity
fix coverity issue
2 parents 1888358 + fd0ce2e commit e2bab4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ctl/ctl_unittest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ void ctl_helper(struct ctl *ctl_handler, const char *name, int *out, ...) {
110110
va_start(args, out);
111111
umf_result_t ret = ctl_query(ctl_handler, NULL, CTL_QUERY_PROGRAMMATIC,
112112
name, CTL_QUERY_READ, out, sizeof(*out), args);
113-
ASSERT_EQ(ret, UMF_RESULT_SUCCESS);
114113
va_end(args);
114+
ASSERT_EQ(ret, UMF_RESULT_SUCCESS);
115115
}
116116

117117
TEST_F(test, ctl_debug_node_arg) {

0 commit comments

Comments
 (0)