]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
torture: Apply some "static const"
authorVolker Lendecke <vl@samba.org>
Wed, 7 Jan 2026 13:56:12 +0000 (14:56 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 20 Jan 2026 11:53:34 +0000 (11:53 +0000)
Only used in this file and never modified

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source4/torture/vfs/fruit.c

index 02a7be68d85da8f275973584ffd94b144ac69ca0..66923e85e9428af37af271f91c43f2a575aeb428 100644 (file)
@@ -172,7 +172,7 @@ Length     : 00000004 : 4
 00000000   : 00 00 01 A1                                     : ....
  */
 
-char metadata_xattr[] = {
+static const char metadata_xattr[] = {
        0x00, 0x05, 0x16, 0x07, 0x00, 0x02, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,