From ed20f6660f54b5c48f684ed4ad419daf2571f176 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Tue, 21 Jun 2022 13:15:17 -0400 Subject: [PATCH] glue: Add comment that argv_save and __main_thread_id need not be set here. But they still are so the glue code is compatible with older Haiku versions. --- src/system/glue/start_dyn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/glue/start_dyn.c b/src/system/glue/start_dyn.c index 5cb8d116c5..fee6c824f2 100644 --- a/src/system/glue/start_dyn.c +++ b/src/system/glue/start_dyn.c @@ -32,6 +32,7 @@ _start(int argc, char **argv, char **environment) { int returnCode; + // These are kept here to make our glue code usable under older Haiku versions. argv_save = argv; __main_thread_id = find_thread(NULL);