From 25a3d310ac61a1ebd6e2bf932c842e8190703dcd Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Sun, 16 May 2010 21:32:21 +0000 Subject: [PATCH] cov 10390: remove pointless assert. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2837 fd59a12c-fef9-0310-b244-a6a79926bd2f --- include/corosync/sq.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/corosync/sq.h b/include/corosync/sq.h index 99f953bb..aa5bc1e0 100644 --- a/include/corosync/sq.h +++ b/include/corosync/sq.h @@ -261,7 +261,6 @@ static inline unsigned int sq_item_get ( // sq_position = (sq->head - sq->head_seqid + seq_id) % sq->size; //printf ("sq_position = %x\n", sq_position); //printf ("ITEMGET %d %d %d %d\n", sq_position, sq->head, sq->head_seqid, seq_id); -assert (sq_position >= 0); if (sq->items_inuse[sq_position] == 0) { return (ENOENT); }