diff options
author | Judd Vinet <judd@archlinux.org> | 2004-03-02 05:49:15 +0100 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-03-02 05:49:15 +0100 |
commit | 88c73d4d65d7f3fd7bd9a9777f6816d5896cfa4a (patch) | |
tree | e6381322731790d92be5f331605e1162ead733a7 /src/pacsync.c | |
parent | a11fb0b581356b23b343683302e201ff7dfcfe48 (diff) | |
download | pacman-88c73d4d65d7f3fd7bd9a9777f6816d5896cfa4a.tar.gz pacman-88c73d4d65d7f3fd7bd9a9777f6816d5896cfa4a.tar.xz |
Imported from pacman-2.7.5.tar.gz
Diffstat (limited to 'src/pacsync.c')
-rw-r--r-- | src/pacsync.c | 4 |
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) { |