Skip to content

Draft: Remove redundant semicolons and trailing semicolons in empty function bodies

Eduardo Almeida requested to merge edalm/ns-3-dev:remove-extra-semicolon into master
  • Remove redundant semicolon. Fixes errors detected by the pedantic build flag.
  • Remove trailing semicolons in empty function bodies. This helps avoiding errors with the pendantic flag and improves code readability by clearly showing that the function is implemented (and not just an empty declaration of the function).
  • Try to re-enable the pedantic build flag for all flags (i.e., revert the commit !1928 (13708c8c)). Should be tested with older GCC versions.
Edited by Eduardo Almeida

Merge request reports