Fix issue in test suite.
This commit is contained in:
1 parent
9340c2e55c
commit
cc45b9c1fe
1 file changed
+4
-2
+4
-2
@@ -44,8 +44,10 @@ static void testobj_init_set(testobj_t d, const testobj_t s)
|
||||
|
||||
static void testobj_set(testobj_t d, const testobj_t s)
|
||||
{
|
||||
testobj_clear(d);
|
||||
testobj_init_set(d, s);
|
||||
if (d != s) {
|
||||
testobj_clear(d);
|
||||
testobj_init_set(d, s);
|
||||
}
|
||||
}
|
||||
|
||||
static void testobj_set_ui(testobj_t d, unsigned int v)
|
||||
|
||||
Reference in new issue
Block a user