toybox icon indicating copy to clipboard operation
toybox copied to clipboard

Remove semicolon following GLOBALS macro in the few commands that had one, as well as unneeded semicolons following one line cp functions

Open E5ten opened this issue 5 years ago • 2 comments

These cause a -Wextra-semi (if it is enabled) warning for every inclusion of globals.h, due to a double-semicolon following the structs for these commands' global variables. Remove the unnecessary semicolons.

E5ten avatar May 29 '20 01:05 E5ten

Does this change actually accomplish anything?

landley avatar May 31 '20 01:05 landley

...it would mean i have no chance of winning the pedantry award for 0.8.4 :-)

enh-google avatar Jun 01 '20 16:06 enh-google

Commit f9acf3b2f179

landley avatar Apr 01 '23 10:04 landley