summaryrefslogtreecommitdiff
path: root/build/parseBuildInstallClean.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-11-16 21:40:28 +0000
committerjbj <devnull@localhost>1998-11-16 21:40:28 +0000
commit28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9 (patch)
treeb73dd13f60ab5e3904f93cd76622c4f5f61ad6f1 /build/parseBuildInstallClean.c
parentbed2bf89c9cc52f655900413d32eb8a5bdcb810c (diff)
downloadlibrpm-tizen-28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9.tar.gz
librpm-tizen-28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9.tar.bz2
librpm-tizen-28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9.zip
LCLINT pass 0.
CVS patchset: 2540 CVS date: 1998/11/16 21:40:28
Diffstat (limited to 'build/parseBuildInstallClean.c')
-rw-r--r--build/parseBuildInstallClean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseBuildInstallClean.c b/build/parseBuildInstallClean.c
index 8ba908e14..2b181bede 100644
--- a/build/parseBuildInstallClean.c
+++ b/build/parseBuildInstallClean.c
@@ -23,7 +23,7 @@ int parseBuildInstallClean(Spec spec, int parsePart)
break;
}
- if (*sbp) {
+ if (*sbp != NULL) {
rpmError(RPMERR_BADSPEC, _("line %d: second %s"), spec->lineNum, name);
return RPMERR_BADSPEC;
}