[Monetdb-developers] [Monetdb-pf-checkins] pathfinder/modules/pftijah pftijah.mx, 1.75, 1.76

Sjoerd Mullender sjoerd at acm.org
Fri Jan 5 11:48:58 CET 2007


On 2007-01-05 11:12, Jan Flokstra wrote:
> Update of /cvsroot/monetdb/pathfinder/modules/pftijah
> In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv7377/modules/pftijah
> 
> Modified Files:
> 	pftijah.mx 
> Log Message:
> + satisfy a picky compiler
> 
> 
> 
> Index: pftijah.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
> retrieving revision 1.75
> retrieving revision 1.76
> diff -u -d -r1.75 -r1.76
> --- pftijah.mx	5 Jan 2007 09:16:38 -0000	1.75
> +++ pftijah.mx	5 Jan 2007 10:12:23 -0000	1.76
> @@ -2510,7 +2510,9 @@
>  	ALGODEBUG THRprintf(GDKout, "#init_result(dbl): BAThordered(e)&1, \n");
>  	bn->batBuns->free = _p - bn->batBuns->base;
>  	BATsetcount(bn, bn->batBuns->free/_bunsize);
> -	BATprepareHash(bn);	
> +	if ( !BATprepareHash(bn) ) {
> +	    /* do nothing yet */;	
> +	}
>  	if (!bn->batDirty)
>  		bn->batDirty = TRUE;
>  }

The "normal" way of doing this is to use
(void) BATprepareHash(bn);
Does that not work?


-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20070105/6d1ba86e/attachment.sig>


More information about the developers-list mailing list