Fix if statement with empty body due to stray semicolon.
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 13 Dec 2010 04:39:11 +0000 (04:39 +0000)
committergraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 13 Dec 2010 04:39:11 +0000 (04:39 +0000)
Found with Clang.

git-svn-id: http://opkg.googlecode.com/svn/trunk@588 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libbb/unarchive.c

index 44f8715..1d152f5 100644 (file)
@@ -621,7 +621,7 @@ free_header_tar(file_header_t *tar_entry)
                return;
 
        free(tar_entry->name);
-       if (tar_entry->link_name);
+       if (tar_entry->link_name)
                free(tar_entry->link_name);
 
        free(tar_entry);