From f8d2b7b09c38c755b62a69e22d2bf4e1de5c6c00 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Sun, 9 Dec 2018 12:11:32 +0300 Subject: [PATCH] Commit forgotted patch for openimageio --- .../0012-maybe-uninitialized-errors.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mingw-w64-openimageio/0012-maybe-uninitialized-errors.patch 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;