]> git.draconx.ca Git - upkg.git/blobdiff - src/uobject/uobject.c
uobject: Remove pkg_idx field.
[upkg.git] / src / uobject / uobject.c
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)