CID 691 : parameter not used in fprintf, but still evaluated, leading to acces out of bounds of array.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38044 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2036,8 +2036,12 @@ DCRaw::_ConvertToRGB()
|
||||
}
|
||||
|
||||
if (1/*verbose*/) {
|
||||
fprintf(stderr, fRawColor ? "Building histograms...\n"
|
||||
: "Converting to %s colorspace...\n", name[fOutputColor - 1]);
|
||||
if (fRawColor)
|
||||
fprintf(stderr, "Building histograms...\n");
|
||||
else {
|
||||
fprintf(stderr, "Converting to %s colorspace...\n",
|
||||
name[fOutputColor - 1]);
|
||||
}
|
||||
}
|
||||
|
||||
ushort* img = fImageData[0];
|
||||
|
||||
Reference in New Issue
Block a user