mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Remove unused variables and fix typos in comments
This commit is contained in:
parent
af448d3883
commit
fdb5bd161d
@ -735,8 +735,6 @@ namespace cryptonote
|
|||||||
|
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
|
|
||||||
const std::string STR_CPU("cpu");
|
|
||||||
const std::size_t STR_CPU_LEN = STR_CPU.size();
|
|
||||||
const std::string STAT_FILE_PATH = "/proc/stat";
|
const std::string STAT_FILE_PATH = "/proc/stat";
|
||||||
|
|
||||||
if( !epee::file_io_utils::is_file_exist(STAT_FILE_PATH) )
|
if( !epee::file_io_utils::is_file_exist(STAT_FILE_PATH) )
|
||||||
@ -787,7 +785,7 @@ namespace cryptonote
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return false; // unsupported systemm..
|
return false; // unsupported system
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------
|
||||||
bool miner::get_process_time(uint64_t& total_time)
|
bool miner::get_process_time(uint64_t& total_time)
|
||||||
@ -818,7 +816,7 @@ namespace cryptonote
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return false; // unsupported system..
|
return false; // unsupported system
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------
|
||||||
uint8_t miner::get_percent_of_total(uint64_t other, uint64_t total)
|
uint8_t miner::get_percent_of_total(uint64_t other, uint64_t total)
|
||||||
|
Loading…
Reference in New Issue
Block a user