object.h: Remove obsolete struct object_refs
PATCH 1/1 object.h: Remove obsolete struct object_refs
The struct object_refs in object.h is never used anywhere, so remove it.
Signed-off-by Jakob Pfender <[email protected]>
--- object.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
object.h +0 -5
@@ -6,11 +6,6 @@ struct object_list {struct object_list *next; }; -struct object_refs { -unsigned count; -struct object *ref[FLEX_ARRAY ];/* more */ -}; -struct object_array {unsigned int nr;unsigned int alloc;
Signature · 1 line
1.7.0.4
Jakob Pfender venit, vidit, dixit 14.03.2011 17:23:
Quoted 2 lines
The struct
object_refsinobject.his never used anywhere, so remove it.
Maybe you could add the information that it is unused since
7914053 (Remove unused object-ref code, 2008-02-25)
That saves everyone else a pickaxe :)
Michael
Quoted 3 lines · Jakob Pfender
The struct
object_refsinobject.his never used anywhere, so remove it.Signed-off-by Jakob Pfender <[email protected]>
Thanks; I'd rephrase the above like this (no need to resend):
7914053 (Remove unused object-ref code, 2008-02-25) removed all uses of the structure from the code, but forgot to remove the type definition itself.
Thanks.