From 9c3fa50b466781229a6ca05bdc6bb0b2998a92a0 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 22 Apr 2020 15:55:41 +0000 Subject: [PATCH] make variable constant since it is assigned from a string literal --- .../dist/libarchive/test/test_acl_platform_posix1e.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c b/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c index 801a7acfc85e..c34f7c2e299d 100644 --- a/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c +++ b/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c @@ -364,8 +364,8 @@ DEFINE_TEST(test_acl_platform_posix1e_read) struct archive *a; struct archive_entry *ae; int n, fd, flags, dflags; - char *func, *acl_text; - const char *acl1_text, *acl2_text, *acl3_text; + char *acl_text; + const char *func, *acl1_text, *acl2_text, *acl3_text; #if ARCHIVE_ACL_SUNOS void *aclp; int aclcnt;