Commit forgotted patch for openimageio
This commit is contained in:
12
mingw-w64-openimageio/0012-maybe-uninitialized-errors.patch
Normal file
12
mingw-w64-openimageio/0012-maybe-uninitialized-errors.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user