summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-19 23:27:42 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:52:05 +0100
commit3e75f222bcdf114238cc4f2bcc61332dc059135f (patch)
tree9b1d7c25483c2819eb34e185459537b6a065e772 /source4/torture
parentc2fffa8335ac68ff70de52f9fc80fb49e5d6d686 (diff)
downloadsamba-3e75f222bcdf114238cc4f2bcc61332dc059135f.tar.gz
samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.tar.bz2
samba-3e75f222bcdf114238cc4f2bcc61332dc059135f.zip
r26539: Remove unnecessary statics.
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/ldap/uptodatevector.c2
-rw-r--r--source4/torture/nbt/winsreplication.c2
-rw-r--r--source4/torture/smbtorture.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/ldap/uptodatevector.c b/source4/torture/ldap/uptodatevector.c
index 7bac04caf3..1f3018fc5e 100644
--- a/source4/torture/ldap/uptodatevector.c
+++ b/source4/torture/ldap/uptodatevector.c
@@ -47,7 +47,7 @@ static bool test_check_uptodatevector(struct torture_context *torture,
struct ldb_result *r;
const struct ldb_val *utdv_val1;
struct replUpToDateVectorBlob utdv1;
- static const char *attrs[] = {
+ const char *attrs[] = {
"uSNChanged",
"replUpToDateVector",
"description",
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c
index d96ed3e931..f0e09c75da 100644
--- a/source4/torture/nbt/winsreplication.c
+++ b/source4/torture/nbt/winsreplication.c
@@ -1008,7 +1008,7 @@ static bool test_wrepl_sgroup_merged(struct torture_context *tctx,
static bool test_conflict_same_owner(struct torture_context *tctx,
struct test_wrepl_conflict_conn *ctx)
{
- static bool ret = true;
+ bool ret = true;
struct nbt_name name;
struct wrepl_wins_name wins_name1;
struct wrepl_wins_name wins_name2;
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 371ddc7297..3c8976d8d0 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -517,13 +517,13 @@ int main(int argc,char *argv[])
const struct torture_ui_ops *ui_ops;
char **argv_new;
poptContext pc;
- static const char *target = "other";
+ const char *target = "other";
NTSTATUS status;
int shell = false;
- static const char *ui_ops_name = "simple";
+ const char *ui_ops_name = "simple";
const char *basedir = NULL;
const char *extra_module = NULL;
- static int list_tests = 0;
+ int list_tests = 0;
enum {OPT_LOADFILE=1000,OPT_UNCLIST,OPT_TIMELIMIT,OPT_DNS, OPT_LIST,
OPT_DANGEROUS,OPT_SMB_PORTS,OPT_ASYNC,OPT_NUMPROGS};