Hi, I have recently noticed that the quit() function in the patch
https://surf.suckless.org/patches/quit-hotkey/ has parameters that are not
being used:

+void
+quit(Client *c, const Arg *a)
+{
+ cleanup();
+ exit(0);
+}
+

To further test my theory, I changed the above quit function to quit(void)
and surf compiled and ran without a problem.

Wouldn't it be better to remove these parameters that are not being used
and instead just put void in their place?

Reply via email to