[pisa-src] Re: r2112 - trunk/libpisa/dict-maa.h

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 15 Apr 2010 15:57:05 +0200

On Tue, Mar 09, 2010 at 03:54:07PM +0100, Mircea Gherzan wrote:
> 
> Log:
> Add libmaa dictionary backend (header, for now).
> 
> Added:
>    trunk/libpisa/dict-maa.h

Just looked at this file again...

> --- /dev/null 00:00:00 1970   (empty, because file is newly added)
> +++ trunk/libpisa/dict-maa.h  Tue Mar  9 15:54:07 2010        (r2112)
> @@ -0,0 +1,162 @@
> +
> +static inline int compare_32(const void *k1, const void *k2)
> +{
> +    const uint32_t v1 = *(const uint32_t *)k1;
> +    const uint32_t v2 = *(const uint32_t *)k2;
> +
> +    if (v1 == v1) {

Ummm, what?  This will always be true...

Diego

Other related posts: