-
Notifications
You must be signed in to change notification settings - Fork 7
Update rfc_xconf_handler.cpp #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1296,9 +1296,9 @@ void RuntimeFeatureControlProcessor::clearDB(void) | |
| std::ofstream touch_file(TR181STOREFILE); | ||
| touch_file.close(); | ||
|
|
||
| set_RFCProperty(name, ClearDB, clearValue); | ||
| set_RFCProperty(name, BootstrapClearDB, clearValue); | ||
| set_RFCProperty(name, ConfigChangeTimeKey, ConfigChangeTime); | ||
| set_RFCProperty(name, ClearDB, std::move(clearValue)); | ||
| set_RFCProperty(name, BootstrapClearDB, std::move(clearValue)); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Coverity Issue - Using a moved object"clearValue" is used after it has been already moved. High Impact, CWE-457 |
||
| set_RFCProperty(name, std::move(ConfigChangeTimeKey), ConfigChangeTime); | ||
|
|
||
| RDK_LOG(RDK_LOG_INFO, LOG_RFCMGR, "[%s][%d] Clearing DB Value: %s\n", __FUNCTION__,__LINE__,ClearDB.c_str()); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Coverity issue no longer present as of: undefined Show issueCoverity Issue - Using a moved object"ClearDB" is used after it has been already moved. High Impact, CWE-457 |
||
| RDK_LOG(RDK_LOG_INFO, LOG_RFCMGR, "[%s][%d] Bootstrap Clearing DB Value: %s\n", __FUNCTION__,__LINE__,BootstrapClearDB.c_str()); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Coverity issue no longer present as of: undefined Show issueCoverity Issue - Using a moved object"BootstrapClearDB" is used after it has been already moved. High Impact, CWE-457 |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation on this line uses a tab while surrounding lines use spaces, which makes formatting inconsistent. Align indentation with the existing spacing style in this function/file.