summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_connections.c b/source3/utils/net_connections.c
index b713ed9c06..a74d53f63a 100644
--- a/source3/utils/net_connections.c
+++ b/source3/utils/net_connections.c
@@ -194,7 +194,7 @@ static int delete_orphans(struct cclean_ctx *ctx)
static int cclean(bool verbose, bool dry_run, bool automatic)
{
- int ret;
+ int ret = -1;
struct cclean_ctx *ctx = talloc_zero(talloc_tos(), struct cclean_ctx);
if (ctx == NULL) {
d_printf("Out of memory\n");