summaryrefslogtreecommitdiffstats
path: root/src/pacsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacsync.c')
-rw-r--r--src/pacsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacsync.c b/src/pacsync.c
index 196e1c92..b171565c 100644
--- a/src/pacsync.c
+++ b/src/pacsync.c
@@ -1,7 +1,7 @@
/*
* pacsync.c
*
- * Copyright (c) 2002 by Judd Vinet <jvinet@zeroflux.org>
+ * Copyright (c) 2002-2004 by Judd Vinet <jvinet@zeroflux.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -346,7 +346,7 @@ static int log_progress(netbuf *ctl, int xfered, void *arg)
syncpkg_t* find_pkginsync(char *needle, PMList *haystack)
{
PMList *i;
- syncpkg_t *sync;
+ syncpkg_t *sync = NULL;
int found = 0;
for(i = haystack; i && !found; i = i->next) {