From 69287da6339dcd7e08a77eb185dfa7b5ab09a374 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 30 Sep 2006 17:20:02 +0000 Subject: r19012: Fix an uninitialized variable (This used to be commit 46cae04fbee1a2e04883085294be4f75b2d6d56c) --- source3/libgpo/gpo_filesync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit