diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-30 16:22:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-30 16:22:49 +0000 |
commit | 8b5fee07ef45a61db5d18ce1cd8f0445e771e77e (patch) | |
tree | 163e4d45969cb48e1f2516f406a097f85dbdda26 /pkgtools | |
parent | e8b2a42b540681987eb25f0b81fc1243c75f199c (diff) | |
download | pkgsrc-8b5fee07ef45a61db5d18ce1cd8f0445e771e77e.tar.gz |
Make GCC happy and set s_start and s_end explicitly.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pbulk/files/pbulk/pscan/jobs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pbulk/files/pbulk/pscan/jobs.c b/pkgtools/pbulk/files/pbulk/pscan/jobs.c index d046598d1ec..8b11e059ed9 100644 --- a/pkgtools/pbulk/files/pbulk/pscan/jobs.c +++ b/pkgtools/pbulk/files/pbulk/pscan/jobs.c @@ -1,4 +1,4 @@ -/* $NetBSD: jobs.c,v 1.6 2012/11/23 12:13:35 joerg Exp $ */ +/* $NetBSD: jobs.c,v 1.7 2012/11/30 16:22:49 joerg Exp $ */ /*- * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -176,6 +176,7 @@ read_old_scan(const char *path) entry_start = buf; l_start = l_end = NULL; entry_start = buf; + s_start = s_end = NULL; for (line = buf; *line; line = eol) { eol = strchr(line, '\n'); if (eol == NULL) @@ -188,6 +189,7 @@ read_old_scan(const char *path) entry_start, line); l_start = l_end = NULL; entry_start = line; + s_start = s_end = NULL; } else if (strncmp(line, "PKG_LOCATION=", 13) == 0) { l_start = line + 13; l_end = eol - 1; |