• Ozaq's avatar
    Fix trivially fixable warnings (#411) · 01d7ea87
    Ozaq authored
    3/2 more serious warnigns on gcc/clang remain.
    
    A bunch of -Wdeprecated-copy warnings have been fixed
    E.g. class Point had explicit Copy C-tor which forces an implicit copy
    asignment operator. -Wdeprecated-copy complains about this. See rule of
    five.
    
    Several signed/unsigned comparisons could be removed by changing loop
    variables to size_t instead of int or unsigned int.
    
    Missing return statements added several functions.
    
    Several variable shadowing warnings have been fixed by renaming the
    shadowing variable.
    
    Unused parameters have been omited from function signatures so that no
    UNUSED macro is neccesary anymore. Also the macro has been removed since
    the lambda capture trick now triggers a warning on clang for an unused
    cpature. Since now all unused vars are gone I simply removed the macro.
    
    Some unneccesary const casts have been removed.
    01d7ea87
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
IO Loading commit data...
JPSfire Loading commit data...
Utest Loading commit data...
cmake_modules Loading commit data...
cnpy Loading commit data...
demos Loading commit data...
doc Loading commit data...
events Loading commit data...
forms Loading commit data...
general Loading commit data...
geometry Loading commit data...
hybrid Loading commit data...
inputfiles Loading commit data...
math Loading commit data...
mpi Loading commit data...
pedestrian Loading commit data...
poly2tri Loading commit data...
routing Loading commit data...
scripts Loading commit data...
tinyxml Loading commit data...
visiLibity Loading commit data...
voronoi-boost Loading commit data...
xsd Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.md Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
Simulation.cpp Loading commit data...
Simulation.h Loading commit data...
main.cpp Loading commit data...
packages.config Loading commit data...