From 6e18ca4cfa2bbb0ec5537a32a16a9c91a64fb6f0 Mon Sep 17 00:00:00 2001 From: krcroft Date: Sat, 4 Apr 2020 08:53:38 -0700 Subject: [PATCH] Remove a couple erroneous null-pointer assertions --- src/gui/sdl_mapper.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/sdl_mapper.cpp b/src/gui/sdl_mapper.cpp index 16747c91..06b6cd7a 100644 --- a/src/gui/sdl_mapper.cpp +++ b/src/gui/sdl_mapper.cpp @@ -1772,7 +1772,6 @@ static void change_action_text(const char* text,Bit8u col) { static void SetActiveBind(CBind * _bind) { - assert(_bind); mapper.abind=_bind; if (_bind) { bind_but.bind_title->Enable(true); @@ -1796,7 +1795,6 @@ static void SetActiveBind(CBind * _bind) { } static void SetActiveEvent(CEvent * event) { - assert(event); mapper.aevent=event; mapper.redraw=true; mapper.addbind=false;