Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rivera-ernesto committed Oct 1, 2018
1 parent 0770dcc commit 3dc81a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/PTEConsoleLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 3dc81a8

Please sign in to comment.