[Base] fix a -Wunused CI compiler warning
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#ifndef _PreComp_
|
#ifndef _PreComp_
|
||||||
# ifdef FC_OS_WIN32
|
# ifdef FC_OS_WIN32
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# endif
|
# endif
|
||||||
# include <cstring>
|
# include <cstring>
|
||||||
# include <Python.h>
|
# include <Python.h>
|
||||||
|
|||||||
@@ -21,15 +21,13 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef BASE_CONSOLEOBSERVER_H
|
#ifndef BASE_CONSOLEOBSERVER_H
|
||||||
#define BASE_CONSOLEOBSERVER_H
|
#define BASE_CONSOLEOBSERVER_H
|
||||||
|
|
||||||
#include <Base/Console.h>
|
#include <Base/Console.h>
|
||||||
#include <Base/Stream.h>
|
#include <Base/Stream.h>
|
||||||
|
|
||||||
|
|
||||||
namespace Base {
|
namespace Base {
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
@@ -101,8 +99,8 @@ conObs(co)
|
|||||||
|
|
||||||
ILoggerBlocker::~ILoggerBlocker()
|
ILoggerBlocker::~ILoggerBlocker()
|
||||||
{
|
{
|
||||||
auto debug = Console().SetEnabledMsgType(conObs, msgTypesBlocked, true);
|
|
||||||
#ifdef FC_DEBUG
|
#ifdef FC_DEBUG
|
||||||
|
auto debug = Console().SetEnabledMsgType(conObs, msgTypesBlocked, true);
|
||||||
if (debug != msgTypesBlocked)
|
if (debug != msgTypesBlocked)
|
||||||
Console().Warning("Enabled message types have been changed while ILoggerBlocker was set\n");
|
Console().Warning("Enabled message types have been changed while ILoggerBlocker was set\n");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user