]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-vfstest: Fix some pointless statics
authorVolker Lendecke <vl@samba.org>
Wed, 1 Feb 2012 18:42:55 +0000 (19:42 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 1 Feb 2012 19:19:31 +0000 (20:19 +0100)
source3/torture/vfstest.c

index 6406156751ba1b2b7ee8fdd2dbd637c0f6ab7df3..082d3d4df71629865b54444e90084d0eb2dec954 100644 (file)
@@ -417,11 +417,11 @@ int last_message = -1;
 
 int main(int argc, char *argv[])
 {
-       static char             *cmdstr = NULL;
-       struct cmd_set          **cmd_set;
-       static struct vfs_state vfs;
+       char *cmdstr = NULL;
+       struct cmd_set  **cmd_set;
+       struct vfs_state vfs;
        int i;
-       static char             *filename = NULL;
+       char *filename = NULL;
        TALLOC_CTX *frame = talloc_stackframe();
 
        /* make sure the vars that get altered (4th field) are in