Eliminate silly leftover switch-case from _tagType()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 28 Sep 2010 19:47:44 +0000 (22:47 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 28 Sep 2010 19:47:44 +0000 (22:47 +0300)
commitda2c5fd2cf3b357ba06e786e8aa96a2b67e52eb0
tree294994b46cab47a85ea9f930792092366f2d2537
parent8274b41ee6cc63ed7e67e242a266c5f1d2e8d44c
Eliminate silly leftover switch-case from _tagType()
- Anybody calling rpmTagGetType() with RPMDBI_PACKAGES deserves to
  wait for the search to figure there's no such thing and return
  RPM_NULL_TYPE like with the switch case. Eliminates another
  enum comparison mismatch warning.
lib/tagname.c