diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-05-27 09:59:55 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-05-27 15:05:34 +0300 |
commit | 6123adcb45100cf6f4dbe88d8525c832747fda06 (patch) | |
tree | 2c427f0063739117d77a1fb6af6921d96f082b27 /build/parseSpec.c | |
parent | 692d7730d191c3c40d2dd98fb8a099bb674cced4 (diff) | |
download | librpm-tizen-6123adcb45100cf6f4dbe88d8525c832747fda06.tar.gz librpm-tizen-6123adcb45100cf6f4dbe88d8525c832747fda06.tar.bz2 librpm-tizen-6123adcb45100cf6f4dbe88d8525c832747fda06.zip |
Eliminate a couple more dead increments in spec parsing code
Diffstat (limited to 'build/parseSpec.c')
-rw-r--r-- | build/parseSpec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c index d0970a826..975867a77 100644 --- a/build/parseSpec.c +++ b/build/parseSpec.c @@ -162,7 +162,7 @@ static int copyNextLineFromOFI(rpmSpec spec, OFI_t *ofi) while (from && *from && ch != '\n') ch = *to++ = *from++; spec->lbufPtr = to; - *to++ = '\0'; + *to = '\0'; ofi->readPtr = from; /* Check if we need another line before expanding the buffer. */ |