Make RPMFILE_STATE_MISSING part of the rpmfileState enum
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 28 Sep 2010 20:06:29 +0000 (23:06 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 28 Sep 2010 20:06:29 +0000 (23:06 +0300)
commitadbd484372cb38aca5aca3c6dba3b2ca9cae93d1
tree2a6dc2c0abd87920d7bba76b85cbc90e5bec78b7
parentac1e1ff57256022b2e4ab091aa5743b92f0a6131
Make RPMFILE_STATE_MISSING part of the rpmfileState enum
- Shuts up couple of "not in enum" complaints from gcc, and actually
  "no state" is a perfectly valid state for one case: non-installed
  packages (so remove the "not valid" comment from formats.c)
- OTOH, this created a new complaint for not handled case in a switch.
  Oh well, fix it up too...
lib/formats.c
lib/rpmfi.h
lib/verify.c