Explorar o código

libdpkg: Do not blank package on queue unit test

The test is only testing for pointers to pkginfo.
Guillem Jover %!s(int64=14) %!d(string=hai) anos
pai
achega
1173cbbf0e
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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 pkginfo pkg, *pkgp;
 
-	pkg_blank(&pkg);
-
 	test_pass(pkg_queue_is_empty(&q));
 
 	/* Test push operations. */