From: Volker Lendecke Date: Wed, 1 Feb 2012 18:42:55 +0000 (+0100) Subject: s3-vfstest: Fix some pointless statics X-Git-Tag: tevent-0.9.15~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c6bd8c1ef0cee7d63ce870f320ad5fc83b1dc7b;p=thirdparty%2Fsamba.git s3-vfstest: Fix some pointless statics --- diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index 6406156751b..082d3d4df71 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -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