Skip to content

Commit

Permalink
Merge pull request #278 from TwinFan/master
Browse files Browse the repository at this point in the history
v4.1.1
  • Loading branch information
TwinFan authored Dec 6, 2024
2 parents e161777 + e0c7bc2 commit e7015e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .github/actions/build-lin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ outputs:
xpl-file-name:
description: Path to the resulting xpl file
value: ${{ steps.return.outputs.xpl-file-name }}
pdb-file-name:
description: Path to the resulting .debug.zip file (debug symbol info)
value: ${{ steps.return.outputs.pdb-file-name }}

runs:
using: "composite"
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/build-mac/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ outputs:
xpl-file-name:
description: Path to the resulting xpl file
value: ${{ steps.return.outputs.xpl-file-name }}
pdb-file-name:
description: Path to the resulting .dSYM.zip file (debug symbol info)
value: ${{ steps.return.outputs.pdb-file-name }}

runs:
using: "composite"
Expand Down
4 changes: 0 additions & 4 deletions Src/LTRealTraffic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,10 +732,6 @@ bool RealTrafficConnection::ProcessFetchedData ()
// in direct mode process an object with aircraft data, essentially a fake array
bool RealTrafficConnection::ProcessTrafficBuffer (const JSON_Object* pBuf)
{
// FIXME: Remove this Crash Handler Test Code!!!
void* p = (void*)dataRefs.ShallLogWeather();
std::memset(p, 0, SIZE_MAX);

// Quick exit if no data
if (!pBuf) return false;

Expand Down
8 changes: 0 additions & 8 deletions Src/LiveTraffic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@ void MenuHandler(void * /*mRef*/, void * iRef)
ACIWnd::ToggleHideShowAll() ? xplm_Menu_Checked : xplm_Menu_Unchecked);
break;
case MENU_ID_AC_INFO_WND_CLOSE_ALL:

// FIXME: Remove this crash-test code!!!
{
int zero = (int)reinterpret_cast<unsigned long long>(iRef);
zero -= 5;
dataRefs.SetMaxNumAc(zero / zero);
}

ACIWnd::CloseAll();
break;
case MENU_ID_TOGGLE_AIRCRAFT:
Expand Down

0 comments on commit e7015e3

Please sign in to comment.