war on -Werror, part 4: miscellany

This commit is contained in:
Devin J. Pohly
2012-12-26 21:45:45 -05:00
parent 58aa480016
commit 1acbf07466
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ void RageLog::AddToRecentLogs( const RString &str )
const char *RageLog::GetRecentLog( int n )
{
if( n >= BACKLOG_LINES || n >= backlog_cnt )
return false;
return NULL;
if( backlog_cnt == BACKLOG_LINES )
{