![](https://secure.gravatar.com/avatar/43d614f0b85861515f7ca51380433c9c.jpg?s=120&d=mm&r=g)
On 05-Nov-2013 12:31, Johan Engelen wrote:
Hi all, Clang found a potential bug. In /src/extension/internal/wmf-inout.cpp, line 1408: int32_t width, height, colortype, numCt, invert; if( (iUsage != U_DIB_RGB_COLORS) || !(dibparams = wget_DIB_params( // this returns pointers and values, but allocates no memory dib, &px, &ct, &numCt, &width, &height, &colortype, &invert )) ){
Now if the first condition is true ("(iUsage != U_DIB_RGB_COLORS)") the second part will not be executed,
That is intentional. What is the full message? Does it go away if this change is made to line 1395?
int dibparams;
to
int dibparams = U_BI_RGB;
Regards,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech