Fix some compilation warnings
Created by: femtobit
This commit fixes warnings related to
- unnecessary semicolons,
- a signed/unsigned integer comparison, and
- default parameters in a lambda function (only supported since C++14).
Created by: femtobit
This commit fixes warnings related to