mirror of
https://github.com/wownero/wownero.git
synced 2026-11-19 15:13:56 +01:00
fix: warning: unused-variable
This commit is contained in:
@@ -224,9 +224,6 @@ bool start_service(
|
||||
{
|
||||
tools::msg_writer() << "Starting service";
|
||||
|
||||
SERVICE_STATUS_PROCESS service_status = {};
|
||||
DWORD unused = 0;
|
||||
|
||||
service_handle p_manager{
|
||||
OpenSCManager(
|
||||
nullptr
|
||||
@@ -353,7 +350,6 @@ bool uninstall_service(
|
||||
return false;
|
||||
}
|
||||
|
||||
SERVICE_STATUS status = {};
|
||||
if (!DeleteService(p_service.get()))
|
||||
{
|
||||
tools::fail_msg_writer() << "Couldn't uninstall service: " << get_last_error();
|
||||
|
||||
Reference in New Issue
Block a user