Task #119458 - sdbus-cpp-2.3.1-2.fc45/scan-results.err
back to task #119458download
Error: CPPCHECK_WARNING (CWE-562):
sdbus-cpp-2.3.1/include/sdbus-c++/VTableItems.inl:164: error[returnTempReference]: Reference to temporary returned.
# 162| static_assert(sizeof...(Args) == sizeof...(String), "Numbers of signal parameters and their names don't match");
# 163|
# 164|-> return withParameters<Args...>({names...});
# 165| }
# 166|
Error: CPPCHECK_WARNING (CWE-562):
sdbus-cpp-2.3.1/tests/integrationtests/DBusMethodsTests.cpp:62: error[returnTempReference]: Reference to temporary returned.
# 60| } // namespace my
# 61|
# 62|-> SDBUSCPP_REGISTER_STRUCT(my::Struct, i, s, l); // NOLINT(readability-identifier-length)
# 63|
# 64| /*-------------------------------------*/
Error: CPPCHECK_WARNING (CWE-562):
sdbus-cpp-2.3.1/tests/unittests/Message_test.cpp:145: error[returnTempReference]: Reference to temporary returned.
# 143| } // namespace my
# 144|
# 145|-> SDBUSCPP_REGISTER_STRUCT(my::Struct, i, s, l, e); // NOLINT(readability-identifier-length)
# 146|
# 147| SDBUSCPP_ENABLE_RELAXED_DICT2STRUCT_DESERIALIZATION(my::RelaxedStruct);
Error: CPPCHECK_WARNING (CWE-562):
sdbus-cpp-2.3.1/tests/unittests/Message_test.cpp:148: error[returnTempReference]: Reference to temporary returned.
# 146|
# 147| SDBUSCPP_ENABLE_RELAXED_DICT2STRUCT_DESERIALIZATION(my::RelaxedStruct);
# 148|-> SDBUSCPP_REGISTER_STRUCT(my::RelaxedStruct, i, s, l, e); // NOLINT(readability-identifier-length)
# 149|
# 150| SDBUSCPP_ENABLE_NESTED_STRUCT2DICT_SERIALIZATION(my::NestedStruct);
Error: CPPCHECK_WARNING (CWE-562):
sdbus-cpp-2.3.1/tests/unittests/Message_test.cpp:151: error[returnTempReference]: Reference to temporary returned.
# 149|
# 150| SDBUSCPP_ENABLE_NESTED_STRUCT2DICT_SERIALIZATION(my::NestedStruct);
# 151|-> SDBUSCPP_REGISTER_STRUCT(my::NestedStruct, i, s, e, x); // NOLINT(readability-identifier-length)
# 152|
# 153| /*-------------------------------------*/