Skip to content

Commit e45334c

Browse files
committed
Expression is always true
1 parent c81bbcf commit e45334c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/utils/xrDXT/dds/tPixel.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ inline size_t calcMaxMipmap(size_t w, size_t h)
5050
{
5151
size_t n = 0;
5252
size_t count = 0;
53-
assert(w >= 0);
54-
assert(h >= 0);
5553
count = w > h ? w : h;
5654
while (count)
5755
{
@@ -65,9 +63,6 @@ inline size_t calcMaxMipmap(size_t w, size_t h, size_t d)
6563
{
6664
size_t n = 0;
6765
size_t count = 0;
68-
assert(w >= 0);
69-
assert(h >= 0);
70-
assert(d >= 0);
7166
count = w > h ? w : h;
7267
if (d > count)
7368
count = d;

0 commit comments

Comments
 (0)