summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c
index 9d77ab41d1..1f55cd04a8 100644
--- a/lib/torture/torture.c
+++ b/lib/torture/torture.c
@@ -96,7 +96,7 @@ _PUBLIC_ NTSTATUS torture_temp_dir(struct torture_context *tctx,
static int local_deltree(const char *path)
{
- int ret;
+ int ret = 0;
struct dirent *dirent;
DIR *dir = opendir(path);
if (!dir) {