diff options
author | jbj <devnull@localhost> | 2001-10-16 17:42:18 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-16 17:42:18 +0000 |
commit | 96a3f7a55d444296f97c3e28c8d810e220e1cb9f (patch) | |
tree | 01eb83731cd7193dda21a7ab3d8e741c41c0914f /rpmdb/rpmdb.c | |
parent | 9f45bcd3ecf3f3548ed7a8490b882a6ca9ffeb94 (diff) | |
download | rpm-96a3f7a55d444296f97c3e28c8d810e220e1cb9f.tar.gz rpm-96a3f7a55d444296f97c3e28c8d810e220e1cb9f.tar.bz2 rpm-96a3f7a55d444296f97c3e28c8d810e220e1cb9f.zip |
Factor -type problems into explicit code annotations.
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
Diffstat (limited to 'rpmdb/rpmdb.c')
-rw-r--r-- | rpmdb/rpmdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c index 0eab91a40..4c1640646 100644 --- a/rpmdb/rpmdb.c +++ b/rpmdb/rpmdb.c @@ -1796,7 +1796,9 @@ int rpmdbSetIteratorRE(rpmdbMatchIterator mi, rpmTag tag, case RPMMIRE_STRCMP: break; case RPMMIRE_REGEX: + /*@-type@*/ preg = xcalloc(1, sizeof(*preg)); + /*@=type@*/ cflags = (REG_EXTENDED | REG_NOSUB); rc = regcomp(preg, allpat, cflags); if (rc) { |