Skip to content
Snippets Groups Projects
  • Jakub Klinkovský's avatar
    58e7adde
    Fixed issues reported in compiler warnings · 58e7adde
    Jakub Klinkovský authored
    - 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)
    58e7adde
    History
    Fixed issues reported in compiler warnings
    Jakub Klinkovský authored
    - 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)