[epiphany] gvdb-builder: Deactivate scan-build check for file_builder_add_hash, file_builder_allocate_for_hash
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] gvdb-builder: Deactivate scan-build check for file_builder_add_hash, file_builder_allocate_for_hash
- Date: Tue, 7 Jan 2020 18:43:47 +0000 (UTC)
commit 79048ec255bba2544ca6f9780da448935544ca3d
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Sat Jan 4 11:03:00 2020 +0100
gvdb-builder: Deactivate scan-build check for file_builder_add_hash, file_builder_allocate_for_hash
lib/contrib/gvdb/gvdb-builder.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/lib/contrib/gvdb/gvdb-builder.c b/lib/contrib/gvdb/gvdb-builder.c
index 86377da91..c5bc61231 100644
--- a/lib/contrib/gvdb/gvdb-builder.c
+++ b/lib/contrib/gvdb/gvdb-builder.c
@@ -312,6 +312,7 @@ file_builder_allocate_for_hash (FileBuilder *fb,
struct gvdb_hash_item **hash_items,
struct gvdb_pointer *pointer)
{
+#ifndef __clang_analyzer__
guint32_le bloom_hdr, table_hdr;
guchar *data;
gsize size;
@@ -346,6 +347,7 @@ file_builder_allocate_for_hash (FileBuilder *fb,
* http://en.wikipedia.org/wiki/Bloom_filter
* http://0pointer.de/blog/projects/bloom.html
*/
+#endif
}
static void
@@ -353,6 +355,7 @@ file_builder_add_hash (FileBuilder *fb,
GHashTable *table,
struct gvdb_pointer *pointer)
{
+#ifndef __clang_analyzer__
guint32_le *buckets, *bloom_filter;
struct gvdb_hash_item *items;
HashTable *mytable;
@@ -435,6 +438,7 @@ file_builder_add_hash (FileBuilder *fb,
}
hash_table_free (mytable);
+#endif
}
static FileBuilder *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]