Thanks Laurens, fixes merged and submitted to svn/trunk and OSG-3.2 branch.

On 10 March 2015 at 14:57, Voerman, L. <[email protected]> wrote:

> Sorry, attached a wrong file.
> I did not intend to submit the removal of
> #define OPENEXR_DLL
> as I am not sure if that will break the build for others.
>
>
> On Tue, Mar 10, 2015 at 3:18 PM, Voerman, L. <[email protected]> wrote:
>
>> Hi Robbert,
>>
>> attached is a zip with a modified version of:
>> OpenSceneGraph\src\osgPlugins\exr\ReaderWriterEXR.cpp
>>
>> This fixes a few compile warings, and possibly give a usefull warning if
>> read or write fails.
>> Warning 3 and 4 uninitialized variable are false, but better fixed anyway.
>>
>> ReaderWriterEXR.cpp(113): warning C4101: 'str' : unreferenced local
>> variable
>> ReaderWriterEXR.cpp(336): warning C4101: 'str' : unreferenced local
>> variable
>> readerwriterexr.cpp(127): warning C4701: potentially uninitialized local
>> variable 'width' used
>> readerwriterexr.cpp(125): warning C4701: potentially uninitialized local
>> variable 'height' used
>>
>>
>>
>> Tested with Visual Studio Express 2013.
>>
>> This patch applies to both the svn and the 3.2 stable tree.
>>
>>
>> Regards, Laurens Voerman.
>>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to