Age | Commit message (Collapse) | Author |
|
|
|
The local variable 'k' remains initialized from the earlier loop.
Remove the variable to avoid misleading compiler warning.
ximadsp.cpp: In member function 'int CxImage::OptimalThreshold(long int, RECT*, CxImage*)':
ximadsp.cpp:3337:9: warning: statement has no effect [-Wunused-value]
for (k;k<=gray_max;k++) if (p[k] > 0) L -= p[k]*log(p[k]/w2)/w2;
^
ximadsp.cpp:3350:9: warning: statement has no effect [-Wunused-value]
for (k;k<=gray_max;k++){
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
ximadsp.cpp: In member function 'bool CxImage::Lut(BYTE*)':
ximadsp.cpp:2797:26: warning: operation on 'iSrc' may be undefined [-Wsequence-point]
*iSrc++ = pLut[*iSrc];
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
|
|
|
|
|
|
Squashed commit due to build breakage during code-reshuffle history.
Conflicts:
xbmc/Util.cpp
xbmc/cdrip/CDDARipper.cpp
xbmc/filesystem/Directory.cpp
xbmc/filesystem/File.cpp
|