diff --git a/mingw-w64-openimageio/0012-maybe-uninitialized-errors.patch b/mingw-w64-openimageio/0012-maybe-uninitialized-errors.patch new file mode 100644 index 0000000000..58063ceb57 --- /dev/null +++ b/mingw-w64-openimageio/0012-maybe-uninitialized-errors.patch @@ -0,0 +1,12 @@ +--- oiio-Release-1.8.16/src/pnm.imageio/pnminput.cpp.orig 2018-11-30 21:59:59.037519700 +0300 ++++ oiio-Release-1.8.16/src/pnm.imageio/pnminput.cpp 2018-11-30 22:00:26.981118000 +0300 +@@ -331,7 +331,8 @@ + { + try { + +- unsigned int width, height; ++ unsigned int width = 0; ++ unsigned int height = 0; + char c; + if (!m_file) + return false;