Fix most Clang 7 warnings (fixes #4972)

This commit is contained in:
Flössie
2019-02-17 12:07:48 +01:00
parent e491c42b5e
commit c85dc2811b
14 changed files with 237 additions and 227 deletions

View File

@@ -30,7 +30,7 @@ namespace rtengine
extern const Settings* settings;
SHMap::SHMap (int w, int h, bool multiThread) : max_f(0.f), min_f(0.f), avg(0.f), W(w), H(h), multiThread(multiThread)
SHMap::SHMap (int w, int h) : max_f(0.f), min_f(0.f), avg(0.f), W(w), H(h)
{
map = new float*[H];