mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
Fix further possible, and comment on definite null pointer derefs per cppcheck.
This commit is contained in:
@@ -1043,14 +1043,14 @@ wxCursor & ThemeBase::Cursor( int iIndex )
|
||||
{
|
||||
wxASSERT( iIndex >= 0 );
|
||||
EnsureInitialised();
|
||||
return *(wxCursor*)NULL;
|
||||
return *(wxCursor*)NULL; // ANSWER-ME: Purposeful null deref?
|
||||
}
|
||||
|
||||
wxFont & ThemeBase::Font( int iIndex )
|
||||
{
|
||||
wxASSERT( iIndex >= 0 );
|
||||
EnsureInitialised();
|
||||
return *(wxFont*)NULL;
|
||||
return *(wxFont*)NULL; // ANSWER-ME: Purposeful null deref?
|
||||
}
|
||||
|
||||
/// Replaces both the image and the bitmap.
|
||||
|
Reference in New Issue
Block a user