Commit 2ee32b237b2ca32a44543f7e32f3d1b2757115b8

Stefan Sperling 2019-05-15T07:09:37

fix build with -DGOT_OBJ_CACHE_DEBUG

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/lib/object_cache.c b/lib/object_cache.c
index d2e350b..bcfd6ab 100644
--- a/lib/object_cache.c
+++ b/lib/object_cache.c
@@ -224,6 +224,9 @@ got_object_cache_close(struct got_object_cache *cache)
 	case GOT_OBJECT_CACHE_TYPE_COMMIT:
 		print_cache_stats(cache, "commit");
 		break;
+	case GOT_OBJECT_CACHE_TYPE_TAG:
+		print_cache_stats(cache, "tag");
+		break;
 	}
 
 	got_object_idset_for_each(cache->idset, check_refcount, cache);