@@ -28,16 +28,16 @@ std::chrono::seconds GetTimeSinceEpochMillisec() {
2828 return duration_cast<seconds>(system_clock::now ().time_since_epoch ());
2929}
3030
31- /* std::unique_ptr<system_info_utils::SystemInfo> GetSystemInfoWithUniversal() {
31+ [[maybe_unused]] std::unique_ptr<system_info_utils::SystemInfo> GetSystemInfoWithUniversal () {
3232 auto system_info = system_info_utils::GetSystemInfo ();
3333 if (system_info->os == " mac" ) {
3434 CTL_INF (" Change arch from " << system_info->arch << " to universal" );
3535 system_info->arch = " universal" ;
3636 }
3737 return system_info;
38- } */
38+ }
3939
40- /* std::string GetNightlyInstallerName(const std::string& v,
40+ [[maybe_unused]] std::string GetNightlyInstallerName (const std::string& v,
4141 const std::string& os_arch) {
4242 const std::string kCortex = " cortex" ;
4343 // Remove 'v' in file name
@@ -51,7 +51,7 @@ std::chrono::seconds GetTimeSinceEpochMillisec() {
5151#endif
5252}
5353
54- std::string GetInstallCmd(const std::string& exe_path) {
54+ [[maybe_unused]] std::string GetInstallCmd (const std::string& exe_path) {
5555#if defined(__APPLE__) && defined(__MACH__)
5656 return " sudo touch /var/tmp/cortex_installer_skip_postinstall_check && sudo "
5757 " installer "
@@ -67,7 +67,7 @@ std::string GetInstallCmd(const std::string& exe_path) {
6767 return " start /wait \"\" " + exe_path +
6868 " /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SkipPostInstall" ;
6969#endif
70- } */
70+ }
7171
7272std::string GetInstallCmdLinux (const std::string& script_path,
7373 const std::string& channel,
0 commit comments