diff options
| author | Volker Lendecke <vl@samba.org> | 2015-02-25 12:19:44 +0000 |
|---|---|---|
| committer | Alexander Bokovoy <ab@samba.org> | 2015-02-25 16:32:29 +0100 |
| commit | a99a5a34a54082162f920fcccbe5561320a5d40a (patch) | |
| tree | 32aaed96eb3eade5ad47ff0b4341914f3b5cd8cd /source4/dsdb/samdb/ldb_modules | |
| parent | b72cc326f67d2b19f247e14424adc46275b2db25 (diff) | |
| download | samba-a99a5a34a54082162f920fcccbe5561320a5d40a.tar.gz samba-a99a5a34a54082162f920fcccbe5561320a5d40a.tar.xz samba-a99a5a34a54082162f920fcccbe5561320a5d40a.zip | |
Fix the developer O3 build
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Feb 25 16:32:29 CET 2015 on sn-devel-104
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
| -rw-r--r-- | source4/dsdb/samdb/ldb_modules/operational.c | 2 | ||||
| -rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 3 | ||||
| -rw-r--r-- | source4/dsdb/samdb/ldb_modules/schema_util.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index f77474f515..66dfca0151 100644 --- a/source4/dsdb/samdb/ldb_modules/operational.c +++ b/source4/dsdb/samdb/ldb_modules/operational.c @@ -143,7 +143,7 @@ static int construct_generic_token_groups(struct ldb_module *module, TALLOC_CTX *tmp_ctx = talloc_new(msg); unsigned int i; int ret; - const char *filter; + const char *filter = NULL; NTSTATUS status; diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 664ace08f2..e3a7db27aa 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -2498,7 +2498,8 @@ static int samldb_service_principal_names_change(struct samldb_ctx *ac) } for (i = 0; i < res->msgs[0]->elements[0].num_values; i++) { - char *old_str, *new_str, *pos; + char *old_str, *new_str; + char *pos = NULL; const char *tok; struct ldb_val *vals; bool found = false; diff --git a/source4/dsdb/samdb/ldb_modules/schema_util.c b/source4/dsdb/samdb/ldb_modules/schema_util.c index 86c21f02c6..c6d8ade396 100644 --- a/source4/dsdb/samdb/ldb_modules/schema_util.c +++ b/source4/dsdb/samdb/ldb_modules/schema_util.c @@ -143,7 +143,7 @@ int dsdb_module_schema_info_blob_write(struct ldb_module *ldb_module, struct ldb_request *parent) { int ldb_err; - struct ldb_message *msg; + struct ldb_message *msg = NULL; TALLOC_CTX *temp_ctx; temp_ctx = talloc_new(ldb_module); |
