summaryrefslogtreecommitdiff
path: root/build/parseSpec.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/parseSpec.c')
-rw-r--r--build/parseSpec.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c
index 5d188cc5a..f45022b84 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -130,17 +130,6 @@ static int copyNextLineFromOFI(rpmSpec spec, OFI_t *ofi)
char *from, *to, *p;
to = spec->lbufPtr ? spec->lbufPtr : spec->lbuf;
from = ofi->readPtr;
- if (from) {
- SKIPSPACE(from);
- if (*from == '#') {
- ch = ' ';
- from++;
- while (*from && ch != '\n')
- ch = *from++;
- } else {
- from = ofi->readPtr;
- }
- }
ch = ' ';
while (from && *from && ch != '\n')
ch = *to++ = *from++;