summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/data_provider_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/data_provider_opts.c b/src/providers/data_provider_opts.c
index 98283e43..3433c4d9 100644
--- a/src/providers/data_provider_opts.c
+++ b/src/providers/data_provider_opts.c
@@ -132,7 +132,7 @@ int dp_copy_options(TALLOC_CTX *memctx,
struct dp_option **_opts)
{
struct dp_option *opts;
- int i, ret;
+ int i, ret = EOK;
opts = talloc_zero_array(memctx, struct dp_option, num_opts);
if (!opts) return ENOMEM;