From 2c591a5e97ad9f354844d3d2b04a4190f9c6fc1f Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 29 May 2022 20:26:30 +0200 Subject: fix memory leak and print sim info over stderr --- robot/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'robot/main.c') diff --git a/robot/main.c b/robot/main.c index eba94cb..b0302bd 100644 --- a/robot/main.c +++ b/robot/main.c @@ -6,9 +6,9 @@ #endif #include -int main(int argc, char **argv) { +int main() { #ifdef W2_SIM - w2_sim_setup(argc, argv); + w2_sim_setup(); #endif w2_setup_main(); -- cgit v1.2.3