mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-27 14:25:34 +00:00
Minor cleanups.
This commit is contained in:
@@ -227,7 +227,7 @@ std::string SelfTest::force_stop(const std::shared_ptr<CommandExecutor>& smartct
|
||||
|
||||
|
||||
// update status variables. note: the returned error is an error in logic,
|
||||
// not an hw defect error.
|
||||
// not a hw defect error.
|
||||
std::string SelfTest::update(const std::shared_ptr<CommandExecutor>& smartctl_ex)
|
||||
{
|
||||
using namespace std::literals;
|
||||
|
||||
@@ -318,7 +318,7 @@ bool SmartctlAtaTextParser::parse_section_info(const std::string& body)
|
||||
{
|
||||
this->set_data_section_info(body);
|
||||
|
||||
AtaStorageProperty::Section section = AtaStorageProperty::Section::info;
|
||||
const AtaStorageProperty::Section section = AtaStorageProperty::Section::info;
|
||||
|
||||
// split by lines.
|
||||
// e.g. Device Model: ST3500630AS
|
||||
|
||||
Reference in New Issue
Block a user