Commit ad3a03de37be406ae4e3338dd0586e3ea85687f1

Stefan Sperling 2017-11-12T16:14:05

remove unused union 'obj' from struct got_object

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/got_object.h b/include/got_object.h
index dda5b9e..d993168 100644
--- a/include/got_object.h
+++ b/include/got_object.h
@@ -51,11 +51,6 @@ struct got_object {
 	size_t hdrlen;
 	size_t size;
 	struct got_object_id id;
-	union {
-		struct got_blob_object blob;
-		struct got_tree_object tree;
-		struct got_commit_object commit;
-	} obj;
 };
 
 struct got_repository;