From 3dc81a8a69a96c28cf08d341546c7d9cf105837c Mon Sep 17 00:00:00 2001 From: Ernesto Rivera Date: Mon, 1 Oct 2018 11:37:52 -0400 Subject: [PATCH] Fix build warnings --- Source/PTEConsoleLogger.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/PTEConsoleLogger.m b/Source/PTEConsoleLogger.m index b1d53ad..7f494f9 100644 --- a/Source/PTEConsoleLogger.m +++ b/Source/PTEConsoleLogger.m @@ -570,11 +570,11 @@ - (void)searchBar:(UISearchBar *)searchBar { switch (selectedScope) { - case 0 : _currentLogLevel = DDLogLevelVerbose; break; - case 1 : _currentLogLevel = DDLogLevelDebug; break; - case 2 : _currentLogLevel = DDLogLevelInfo; break; - case 3 : _currentLogLevel = DDLogLevelWarning; break; - default : _currentLogLevel = DDLogLevelError; break; + case 0 : self->_currentLogLevel = DDLogLevelVerbose; break; + case 1 : self->_currentLogLevel = DDLogLevelDebug; break; + case 2 : self->_currentLogLevel = DDLogLevelInfo; break; + case 3 : self->_currentLogLevel = DDLogLevelWarning; break; + default : self->_currentLogLevel = DDLogLevelError; break; } [self searchBarStateChanged];