Просмотр исходного кода

libdpkg: Do not blank package on queue unit test

The test is only testing for pointers to pkginfo.
Guillem Jover лет назад: 14
Родитель
Сommit
1173cbbf0e
1 измененных файлов с 0 добавлено и 2 удалено
  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. */