From 243d1757d798a0cd43f51eb1db75cc1e81c65732 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 4 Jul 2010 04:26:55 +0200 Subject: remove some dead assignments, add a TODO comment Signed-off-by: Denys Vlasenko --- archival/libunarchive/data_extract_all.c | 1 + 1 file changed, 1 insertion(+) (limited to 'archival') diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c index c4ffe7e..00e67d4 100644 --- a/archival/libunarchive/data_extract_all.c +++ b/archival/libunarchive/data_extract_all.c @@ -127,6 +127,7 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) break; case S_IFLNK: /* Symlink */ +//TODO: what if file_header->link_target == NULL (say, corrupted tarball?) res = symlink(file_header->link_target, file_header->name); if ((res == -1) && !(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET) -- cgit v1.1