compilation failure in brz_search_packed in v1.1
Brought to you by:
davi,
fc_botelho
Gcc on NetBSD prints a warning about missing return and it breaks a compilation because -Werror is being used. The fix is:
[screen pts/1] cat patches/patch-src_brz.c
$NetBSD$
--- src/brz.c.orig 2011-05-15 15:31:05.000000000 +0000
+++ src/brz.c
@@ -981,5 +981,6 @@ cmph_uint32 brz_search_packed(void *pack
return brz_bmz8_search_packed(ptr, key, keylen, fingerprint);
default: assert(0);
}
+ return 0;
}