summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-30 17:20:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:01 -0500
commit69287da6339dcd7e08a77eb185dfa7b5ab09a374 (patch)
treecb6603c09d9332dc249d28b27c3d1fcabb0b54e7
parentbffbda804d706808b2298ab535e8436d25a8b563 (diff)
downloadsamba-69287da6339dcd7e08a77eb185dfa7b5ab09a374.tar.gz
samba-69287da6339dcd7e08a77eb185dfa7b5ab09a374.tar.bz2
samba-69287da6339dcd7e08a77eb185dfa7b5ab09a374.zip
r19012: Fix an uninitialized variable
(This used to be commit 46cae04fbee1a2e04883085294be4f75b2d6d56c)
-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;