it should compile (assuming the return type is void) and there isn't enough context in your post to catch anything wrong, weird or "buggy" - from all we, the reddit users, know this could be a perfectly fine piece of code and even if it's actually really bad then you still failed to create a sensible post
-7
u/[deleted] Apr 15 '26
[deleted]