summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libgpo/gpo_filesync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libgpo/gpo_filesync.c b/source3/libgpo/gpo_filesync.c
index 36c538dc51..e97562c93f 100644
--- a/source3/libgpo/gpo_filesync.c
+++ b/source3/libgpo/gpo_filesync.c
@@ -40,7 +40,8 @@ NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx,
const char *unix_path)
{
NTSTATUS result;
- int fnum, fd;
+ int fnum;
+ int fd = 0;
char *data = NULL;
static int io_bufsize = 64512;
int read_size = io_bufsize;