Headless: Remove stack corruption workaround.

This doesn't seem necessary anymore, was made static in 2013.
This commit is contained in:
Unknown W. Brackets 2022-01-29 12:49:20 -08:00
parent 1a787a2bca
commit 9c695aea9a

View File

@ -177,9 +177,7 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, bool
headlessHost->SetComparisonScreenshot(ExpectedScreenshotFromFilename(coreParameter.fileToStart));
bool passed = true;
// TODO: We must have some kind of stack overflow or we're not following the ABI right.
// This gets trashed if it's not static.
static double deadline;
double deadline;
deadline = time_now_d() + timeout;
Core_UpdateDebugStats(g_Config.bShowDebugStats || g_Config.bLogFrameDrops);