From a12f2fec5af747a5ef70b7b2c9fb2d674f87cfbf Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 17 Feb 2024 16:36:40 +0000 Subject: [PATCH] Grarrgh. Build. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4853 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/task.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/task.c b/src/task.c index 83a6fff1..8b564b41 100644 --- a/src/task.c +++ b/src/task.c @@ -2138,11 +2138,12 @@ static JSValue _tf_task_setTimeout(JSContext* context, JSValueConst this_val, in static JSValue _tf_task_pokeSandbox(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv) { + int result = 0; #if TARGET_OS_IPHONE tf_printf("Not sure what we can try to poke on iOS.\n"); #else tf_printf("Poking sandbox.\n"); - int result = system("pwd"); + result = system("pwd"); tf_printf("Sandbox poked.\n"); #endif return JS_NewInt32(context, WEXITSTATUS(result));