diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-14 19:52:11 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-14 19:52:11 +0200 |
commit | 55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0 (patch) | |
tree | 20a312fedbb67f1ef4ef5aa235ac5235d8db8eaf /build/parsePrep.c | |
parent | 61e35657a6e3ce33a44067e82bb382b8b3133c4a (diff) | |
download | librpm-tizen-55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0.tar.gz librpm-tizen-55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0.tar.bz2 librpm-tizen-55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0.zip |
Bogus const removal continued...
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r-- | build/parsePrep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c index f20f8666f..13a130b58 100644 --- a/build/parsePrep.c +++ b/build/parsePrep.c @@ -408,8 +408,7 @@ static int doSetupMacro(rpmSpec spec, char *line) const char ** fm; for (fm = fixmacs; *fm; fm++) { - const char *fix; - fix = rpmExpand(*fm, " .", NULL); + char * fix = rpmExpand(*fm, " .", NULL); if (fix && *fix != '%') appendLineStringBuf(spec->prep, fix); fix = _free(fix); |