mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
Remove unused variables and fix typos in comments
This commit is contained in:
parent
af448d3883
commit
fdb5bd161d
1 changed files with 2 additions and 4 deletions
|
@ -735,8 +735,6 @@ namespace cryptonote
|
|||
|
||||
#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";
|
||||
|
||||
if( !epee::file_io_utils::is_file_exist(STAT_FILE_PATH) )
|
||||
|
@ -787,7 +785,7 @@ namespace cryptonote
|
|||
|
||||
#endif
|
||||
|
||||
return false; // unsupported systemm..
|
||||
return false; // unsupported system
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
bool miner::get_process_time(uint64_t& total_time)
|
||||
|
@ -818,7 +816,7 @@ namespace cryptonote
|
|||
|
||||
#endif
|
||||
|
||||
return false; // unsupported system..
|
||||
return false; // unsupported system
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
uint8_t miner::get_percent_of_total(uint64_t other, uint64_t total)
|
||||
|
|
Loading…
Reference in a new issue