Remove redundant code
svn-id: r48193
This commit is contained in:
parent
2cdf8996f3
commit
569273040e
1 changed files with 0 additions and 3 deletions
|
@ -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--) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue