clang warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-01-27 11:54:19 +00:00
parent 4bc3adadc1
commit d67faa04d4
2 changed files with 3 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList)
if ( !attribList[arg++] ) if ( !attribList[arg++] )
break; break;
return false; return nil;
} }
data[p++] = NSOpenGLPFASampleBuffers; data[p++] = NSOpenGLPFASampleBuffers;
@@ -204,7 +204,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList)
if ( !attribList[arg++] ) if ( !attribList[arg++] )
break; break;
return false; return nil;
} }
data[p++] = NSOpenGLPFASamples; data[p++] = NSOpenGLPFASamples;

View File

@@ -8914,7 +8914,7 @@ wxRichTextCell* wxRichTextTable::GetCell(int row, int col) const
return wxDynamicCast(obj, wxRichTextCell); return wxDynamicCast(obj, wxRichTextCell);
} }
else else
return false; return NULL;
} }
// Returns a selection object specifying the selections between start and end character positions. // Returns a selection object specifying the selections between start and end character positions.