Browse Source

libdpkg: Do not blank package on queue unit test

The test is only testing for pointers to pkginfo.
Guillem Jover 14 years ago
parent
commit
1173cbbf0e
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/dpkg/test/t-pkg-queue.c

+ 0 - 2
lib/dpkg/test/t-pkg-queue.c

@@ -54,8 +54,6 @@ test_pkg_queue_push_pop(void)
 	struct pkg_list *l1, *l2, *l3;
 	struct pkg_list *l1, *l2, *l3;
 	struct pkginfo pkg, *pkgp;
 	struct pkginfo pkg, *pkgp;
 
 
-	pkg_blank(&pkg);
-
 	test_pass(pkg_queue_is_empty(&q));
 	test_pass(pkg_queue_is_empty(&q));
 
 
 	/* Test push operations. */
 	/* Test push operations. */