From 616bb095f10c24f1f720efe89b7f39c670d114a3 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 1 Jul 2006 08:01:00 -0700 Subject: Version abc60701 --- src/misc/vec/vecInt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/misc/vec/vecInt.h') diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h index fd8dbc86..4f193cf2 100644 --- a/src/misc/vec/vecInt.h +++ b/src/misc/vec/vecInt.h @@ -325,6 +325,7 @@ static inline void Vec_IntAddToEntry( Vec_Int_t * p, int i, int Addition ) ***********************************************************************/ static inline int Vec_IntEntryLast( Vec_Int_t * p ) { + assert( p->nSize > 0 ); return p->pArray[p->nSize-1]; } -- cgit v1.2.3