Fix warnings unused but set variable
- Apr 16, 2019
-
-
Henrik Stolzmann authored
Changed ```` int count; count = vsprintf(buffer,format,args) ```` to ```` int count = vsprintf(buffer,format,args) ````
-
- Apr 11, 2019
-
-
Henrik Stolzmann authored
I added a preprocessor if-condition to check whether "NDEBUG" is defined or not. All uses of "count" are contained in this if statement.
-
Henrik Stolzmann authored
```` I added the attribute "DUNE_UNUSED" to the variable "STAT_MOD" to avoid the warning: "unused variable". ````
-
Henrik Stolzmann authored
```` I added the attribute "DUNE_UNUSED" to the variable "theEdge" to avoid the warning: "variable set but not used". ````
-
Henrik Stolzmann authored
```` I added the attribute "DUNE_UNUSED" to the variable "FatherEdge" to avoid the warning: "variable set but unused". ````
-
Henrik Stolzmann authored
```` I added the attribute "DUNE_UNUSED" to the variable "D" to avoid the warning: "variable set but unused". ````
-
Henrik Stolzmann authored
```` I added the attribute "DUNE_UNUSED" to the variable "sideNode" to avoid the warning: "variable set but not used". ````
-
Henrik Stolzmann authored
```` I added the attribute "DUNE_UNUSED" to the variable "count" to avoid the warning: "variable set but unused". This warning was only occuring in the compiler-test "gcc-8-noassert-17" ````
-