mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-23 15:41:09 +02:00
Add an assert for possible null pointer dereference detected by cppcheck.
This commit is contained in:
parent
412b81392c
commit
b2e0e984d9
@ -5830,6 +5830,7 @@ void TrackPanel::UpdateVRuler(Track *t)
|
||||
|
||||
void TrackPanel::UpdateTrackVRuler(Track *t)
|
||||
{
|
||||
wxASSERT(t);
|
||||
wxRect r(GetVRulerOffset(),
|
||||
kTopInset,
|
||||
GetVRulerWidth(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user