summaryrefslogtreecommitdiffstats
path: root/libbb
diff options
context:
space:
mode:
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-12-12 23:39:11 (EST)
committer graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-12-12 23:39:11 (EST)
commit25c4c0cc6f7e142f87be6e0945541a448602f197 (patch)
tree3c6c15af44021b64820709f1f1c15dd0f284baba /libbb
parent76282e2441864414fc7548ca5685de5d4dc29c6c (diff)
Fix if statement with empty body due to stray semicolon.
Found with Clang. git-svn-id: http://opkg.googlecode.com/svn/trunk@588 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c
index 44f8715..1d152f5 100644
--- a/libbb/unarchive.c
+++ b/libbb/unarchive.c
@@ -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);