remove unused union 'obj' from struct got_object
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;