From 4a5493e12fd89c0fabf53ea8bb1f3581b73a85a4 Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 7 Mar 2020 03:24:35 +0700 Subject: [PATCH] Added the wizard suggestion. --- src/App.cpp | 6 +++--- src/App.h | 4 ++-- src/backend/cpu/Cpu.cpp | 6 ++---- src/backend/cpu/Cpu.h | 4 ++-- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/App.cpp b/src/App.cpp index 17060f967..106238c80 100644 --- a/src/App.cpp +++ b/src/App.cpp @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -61,7 +61,7 @@ xmrig::App::~App() int xmrig::App::exec() { if (!m_controller->isReady()) { - LOG_EMERG("no valid configuration found."); + LOG_EMERG("no valid configuration found, try https://xmrig.com/wizard"); return 2; } diff --git a/src/App.h b/src/App.h index b46dcefad..122e8fb63 100644 --- a/src/App.h +++ b/src/App.h @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/backend/cpu/Cpu.cpp b/src/backend/cpu/Cpu.cpp index 5d095e686..1e3157773 100644 --- a/src/backend/cpu/Cpu.cpp +++ b/src/backend/cpu/Cpu.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -91,8 +91,6 @@ rapidjson::Value xmrig::Cpu::toJSON(rapidjson::Document &doc) void xmrig::Cpu::release() { - assert(cpuInfo != nullptr); - delete cpuInfo; cpuInfo = nullptr; } diff --git a/src/backend/cpu/Cpu.h b/src/backend/cpu/Cpu.h index a8dd1f3ae..a8fef70ff 100644 --- a/src/backend/cpu/Cpu.h +++ b/src/backend/cpu/Cpu.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by