Skip to content

Commit

Permalink
Fix incorrect double assigment
Browse files Browse the repository at this point in the history
  • Loading branch information
pnoltes committed Jan 13, 2024
1 parent 65f53a1 commit fce59ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/dfi/gtest/src/dyn_interface_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fce59ed

Please sign in to comment.