Merge branch 'develop-warning_fix' into 'master'

Fix typo and conditional statement for warnings

See merge request !171
1 job for master
in 57 minutes and 7 seconds, using 0 compute credits, and was queued for 3 seconds