summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-10-06 14:09:50 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-10-06 14:09:50 +0300
commitf911f7043becd562d2adfafcb26e192023b9c73f (patch)
treeb916284c3216a088c642f5eeacd8688ea69bb8d5 /src/apk_database.h
parentac39e84d53228bccfd4b371ec3ee3350ceca0f28 (diff)
downloadapk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.tar.gz
apk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.tar.bz2
apk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.tar.xz
apk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.zip
index: fix warning about package names without provider
It's real only if there's a package with actual dependency (conflicts and install_if dependencies do not count).
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 74af494..23a2dd6 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -92,8 +92,8 @@ struct apk_name {
struct apk_provider_array *providers;
struct apk_name_array *rdepends;
struct apk_name_array *rinstall_if;
+ unsigned is_dependency : 1;
unsigned int foreach_genid;
-
union {
struct apk_solver_name_state ss;
void *state_ptr;