From fce59eda4f213395916b828498954e00c2e84f21 Mon Sep 17 00:00:00 2001 From: Pepijn Noltes Date: Sat, 13 Jan 2024 12:03:54 +0100 Subject: [PATCH] Fix incorrect double assigment --- libs/dfi/gtest/src/dyn_interface_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/dfi/gtest/src/dyn_interface_tests.cpp b/libs/dfi/gtest/src/dyn_interface_tests.cpp index 40e9c732f..59646806f 100644 --- a/libs/dfi/gtest/src/dyn_interface_tests.cpp +++ b/libs/dfi/gtest/src/dyn_interface_tests.cpp @@ -57,8 +57,8 @@ extern "C" { status = dynInterface_getVersionString(dynIntf, &version); ASSERT_EQ(0, status); ASSERT_STREQ(v, version); + celix_version_t* localMsgVersion = celix_version_createVersionFromString(version); celix_version_t* msgVersion = nullptr; - celix_version_t* localMsgVersion = localMsgVersion = celix_version_createVersionFromString(version); status = dynInterface_getVersion(dynIntf, &msgVersion); ASSERT_EQ(0, status); int cmpVersion = celix_version_compareTo(msgVersion, localMsgVersion);