aboutsummaryrefslogtreecommitdiff
path: root/robot/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-29 20:26:30 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-29 20:26:30 +0200
commit2c591a5e97ad9f354844d3d2b04a4190f9c6fc1f (patch)
tree3593ff0e9bebcf4fbf8cd33160114f13711f093e /robot/main.c
parent4227c0d62e6df83e96c2b5fa62a8a743d4d96c8f (diff)
fix memory leak and print sim info over stderr
Diffstat (limited to 'robot/main.c')
-rw-r--r--robot/main.c4
1 files changed, 2 insertions, 2 deletions
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 <unistd.h>
-int main(int argc, char **argv) {
+int main() {
#ifdef W2_SIM
- w2_sim_setup(argc, argv);
+ w2_sim_setup();
#endif
w2_setup_main();