Remove redundant code

svn-id: r48193
This commit is contained in:
Max Horn 2010-03-08 10:32:05 +00:00
parent 2cdf8996f3
commit 569273040e

View File

@ -85,9 +85,6 @@ template<typename ColorMask>
void DownscaleHorizByHalfTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
uint16 *work;
if (!height)
return;
// Various casts below go via (void *) to avoid warning. This is
// safe as these are all even addresses.
while (height--) {