Skip to content
Snippets Groups Projects
Commit 58e7adde authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed issues reported in compiler warnings

- base class with non-virtual destructor causes undefined behaviour
- missing return statements at the end of non-void functions
- missing const before char* function argument
- reordered initialization of class members
- misleading indentation after for statement
- fixed use of uninitialized variables
- fixed unsequenced modification and access to variables (the C++
  standard does not define the evaluation order of operands, so
  expressions with side-effects such as j++ cause undefined behaviour)
parent 06c2b3e5
No related branches found
No related tags found
Loading
Showing
with 48 additions and 35 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment