Skip to content
Snippets Groups Projects
  • Cristian Lalescu's avatar
    fc6b51d0
    get rid of unused variable warnings · fc6b51d0
    Cristian Lalescu authored
    We now a have a function to be called when a variable is only used
    inside an "assert" call. This way, I get rid of the rest of the warnings
    (and we can actually see important warnings in the future).
    Idea from:
    stackoverflow.com/questions/777261/avoiding-unused-variables-warnings-when-using-assert-in-a-release-build
    fc6b51d0
    History
    get rid of unused variable warnings
    Cristian Lalescu authored
    We now a have a function to be called when a variable is only used
    inside an "assert" call. This way, I get rid of the rest of the warnings
    (and we can actually see important warnings in the future).
    Idea from:
    stackoverflow.com/questions/777261/avoiding-unused-variables-warnings-when-using-assert-in-a-release-build