diff options
author | Kai Blin <kai@samba.org> | 2007-12-14 10:38:26 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:50:16 +0100 |
commit | 45015eda2421253f858f0a4500a57c2855f9686c (patch) | |
tree | 004ff3b15d62a63c5d4dc4a5f4045a846e4c548b /source4/lib/registry/tests/hive.c | |
parent | 4a33ca21943f72ddde4b22ddd6591c2ccdbb657b (diff) | |
download | samba-45015eda2421253f858f0a4500a57c2855f9686c.tar.gz samba-45015eda2421253f858f0a4500a57c2855f9686c.tar.bz2 samba-45015eda2421253f858f0a4500a57c2855f9686c.zip |
r26451: Janitorial: fix warnings in lib/registry/
This does not fix the discarded qualifier warnings in tests, as the test data
is currently passed as const. Jelmer wants to provide a test function that
passes non-const test data, thus allowing for a cleaner way to fix those
warnings.
(This used to be commit 46dfa63d4f7381c5c6ce3f4b8b0bd9aa9e16950c)
Diffstat (limited to 'source4/lib/registry/tests/hive.c')
-rw-r--r-- | source4/lib/registry/tests/hive.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/tests/hive.c b/source4/lib/registry/tests/hive.c index 04a91d42fa..fdb7282395 100644 --- a/source4/lib/registry/tests/hive.c +++ b/source4/lib/registry/tests/hive.c @@ -290,7 +290,7 @@ static bool hive_setup_dir(struct torture_context *tctx, void **data) { struct hive_key *key; WERROR error; - const char *dirname; + char *dirname; NTSTATUS status; status = torture_temp_dir(tctx, "hive-dir", &dirname); @@ -314,7 +314,7 @@ static bool hive_setup_ldb(struct torture_context *tctx, void **data) { struct hive_key *key; WERROR error; - const char *dirname; + char *dirname; NTSTATUS status; status = torture_temp_dir(tctx, "hive-ldb", &dirname); @@ -338,7 +338,7 @@ static bool hive_setup_regf(struct torture_context *tctx, void **data) { struct hive_key *key; WERROR error; - const char *dirname; + char *dirname; NTSTATUS status; status = torture_temp_dir(tctx, "hive-dir", &dirname); |