You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by va...@apache.org on 2006/11/13 14:14:28 UTC
svn commit: r474295 -
/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h
Author: varlax
Date: Mon Nov 13 05:14:28 2006
New Revision: 474295
URL: http://svn.apache.org/viewvc?view=rev&rev=474295
Log:
HARMONY-2167 [drlvm] remove pointless unsigned >= 0 assertion to fix icl build
Tested compilation on msvc2003 and icl 9.0
Modified:
incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h
Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h?view=diff&rev=474295&r1=474294&r2=474295
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h Mon Nov 13 05:14:28 2006
@@ -159,7 +159,7 @@
void erase(iterator i) {
assert(0 <= i.index); assert((size_t)i.index < i.current->used);
- i.current->used--; assert(i.current->used >= 0);
+ i.current->used--;
// compact array if the erased element was not the last
if ((size_t)i.index < i.current->used) {