From: Arshan Khanifar Date: Tue, 6 Feb 2018 19:02:35 +0000 (-0500) Subject: corrected licensing, removed unnecessary variables X-Git-Tag: v3.3.3~18^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02a0564a61b71d7893b5517b32f42df3abdfcd2e;p=thirdparty%2Flibarchive.git corrected licensing, removed unnecessary variables --- diff --git a/tar/test/test_option_C_mtree.c b/tar/test/test_option_C_mtree.c index e1fcc2f74..87f9add1e 100644 --- a/tar/test/test_option_C_mtree.c +++ b/tar/test/test_option_C_mtree.c @@ -1,6 +1,9 @@ /*- - * Copyright (c) 2018 Arshan Khanifar + * Copyright (c) 2007-2018 The FreeBSD Foundation * All rights reserved. + * + * This software was developed by Arshan Khanifar + * under sponsorship from the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -27,12 +30,10 @@ __FBSDID("$FreeBSD$"); DEFINE_TEST(test_option_C_mtree) { - char *buff; char *p0; size_t s; int r; - buff = NULL; p0 = NULL; char *content = "./foo type=file uname=root gname=root mode=0755\n"; @@ -63,7 +64,6 @@ DEFINE_TEST(test_option_C_mtree) free(p0); done: - free(buff); free(p0); }