From d5473db68e686b14826aeed066dc9e85e2dcd93e Mon Sep 17 00:00:00 2001 From: janwas Date: Fri, 19 Nov 2004 22:40:27 +0000 Subject: [PATCH] warning fix: remove redundant uint >= 0 This was SVN commit r1358. --- source/lib/res/snd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/res/snd.cpp b/source/lib/res/snd.cpp index d5af4eebb4..326283537b 100755 --- a/source/lib/res/snd.cpp +++ b/source/lib/res/snd.cpp @@ -409,7 +409,7 @@ static void al_src_free(ALuint al_src) { assert(alIsSource(al_src)); al_srcs[--al_src_used] = al_src; - assert(0 <= al_src_used && al_src_used < al_src_allocated); + assert(al_src_used < al_src_allocated); // don't compare against cap - it might have been // decreased to less than were in use. }