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 44f8715c16892e5b2d2cb3d7f5614503b76e10f2..1d152f5eb6af0b65bb83d09e917a19c96d5dc81a 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);