Skip to content

Commit e0c7bc2

Browse files
committed
Feat/CrashRpt: Remove crash testing code, closes #193
1 parent f5f9ff7 commit e0c7bc2

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Src/LTRealTraffic.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -732,10 +732,6 @@ bool RealTrafficConnection::ProcessFetchedData ()
732732
// in direct mode process an object with aircraft data, essentially a fake array
733733
bool RealTrafficConnection::ProcessTrafficBuffer (const JSON_Object* pBuf)
734734
{
735-
// FIXME: Remove this Crash Handler Test Code!!!
736-
void* p = (void*)dataRefs.ShallLogWeather();
737-
std::memset(p, 0, SIZE_MAX);
738-
739735
// Quick exit if no data
740736
if (!pBuf) return false;
741737

Src/LiveTraffic.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,6 @@ void MenuHandler(void * /*mRef*/, void * iRef)
9292
ACIWnd::ToggleHideShowAll() ? xplm_Menu_Checked : xplm_Menu_Unchecked);
9393
break;
9494
case MENU_ID_AC_INFO_WND_CLOSE_ALL:
95-
96-
// FIXME: Remove this crash-test code!!!
97-
{
98-
int zero = (int)reinterpret_cast<unsigned long long>(iRef);
99-
zero -= 5;
100-
dataRefs.SetMaxNumAc(zero / zero);
101-
}
102-
10395
ACIWnd::CloseAll();
10496
break;
10597
case MENU_ID_TOGGLE_AIRCRAFT:

0 commit comments

Comments
 (0)