]> git.draconx.ca Git - upkg.git/commitdiff
uobject: Remove pkg_idx field.
authorNick Bowler <nbowler@draconx.ca>
Sat, 12 Mar 2011 01:55:50 +0000 (20:55 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 13 Mar 2011 21:39:00 +0000 (17:39 -0400)
Nothing used this.

src/uobject/uobject.c
src/uobject/uobject.h

index b029cbf9637825e4e1b8fe6431a3fcb5bf6e0523..e5b500b2cd82e695cbadd2b013069a14ba22ff59 100644 (file)
@@ -208,7 +208,6 @@ int u_object_deserialize(GObject *obj, struct upkg *pkg, unsigned long idx)
                upkg_export_close(f);
        } else {
                uo->pkg      = pkg;
-               uo->pkg_idx  = idx;
                uo->pkg_file = f;
        }
 
@@ -219,7 +218,6 @@ static void u_object_init(UObject *o)
 {
        o->pkg      = NULL;
        o->pkg_file = NULL;
-       o->pkg_idx  = 0;
 }
 
 static void u_object_finalize(GObject *o)
index 116b7835a259941aa2ac8ef7b1dbed75bfa23959..139b5373c0ad8bd6b329a7b5b17d62453e7d189f 100644 (file)
@@ -42,7 +42,6 @@ struct UObject {
 
        struct upkg *pkg;
        struct upkg_file *pkg_file;
-       unsigned long pkg_idx;
 };
 
 struct UObjectClass {