fi->actions is already initialized earlier in rpmfiNew()
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 5 Nov 2008 09:49:33 +0000 (11:49 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 5 Nov 2008 09:49:33 +0000 (11:49 +0200)
lib/rpmfi.c

index 1ae5477..d888017 100644 (file)
@@ -1332,9 +1332,6 @@ rpmfi rpmfiNew(const rpmts ts, Header h, rpmTag tagN, rpmfiFlags flags)
     {
        Header foo;
 
-/* XXX DYING */
-if (fi->actions == NULL)
-       fi->actions = xcalloc(fi->fc, sizeof(*fi->actions));
        /* FIX: fi-digests undefined */
        foo = relocateFileList(ts, fi, h, fi->actions);
        fi->h = headerFree(fi->h);