Fix compilation on Fedora.
authorAles Kozumplik <akozumpl@redhat.com>
Tue, 24 Jan 2012 15:57:01 +0000 (16:57 +0100)
committerAles Kozumplik <akozumpl@redhat.com>
Tue, 24 Jan 2012 16:07:51 +0000 (17:07 +0100)
commitc29144158049f981cfe5fd3f5aa0d76bb508ee7e
tree5f63711f4b9cb80d9a19e3fa4553b2619baba4c3
parent9ebfa0a4a2fd1556bf50c5c73e78c7fa2bf6bbe3
Fix compilation on Fedora.

if ENABLED_SUSEREPO is disabled, repo_add_products() is not part of the
libsolv_ext. This fails linking for rpmdb2solv.c.

Also treat unused-variable warnings occurring with the conditional blocks.
examples/solv.c
tools/rpmdb2solv.c