diff options
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r-- | lib/rpmte.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index 266384cf4..8f0f8dff8 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -42,7 +42,6 @@ struct rpmte_s { int npreds; /*!< No. of predecessors. */ int tree; /*!< Tree index. */ int depth; /*!< Depth in dependency tree. */ - int breadth; /*!< Breadth in dependency tree. */ unsigned int db_instance; /*!< Database instance (of removed pkgs) */ tsortInfo tsi; /*!< Dependency ordering chains. */ @@ -421,21 +420,6 @@ int rpmteSetDepth(rpmte te, int ndepth) return odepth; } -int rpmteBreadth(rpmte te) -{ - return (te != NULL ? te->depth : 0); -} - -int rpmteSetBreadth(rpmte te, int nbreadth) -{ - int obreadth = 0; - if (te != NULL) { - obreadth = te->breadth; - te->breadth = nbreadth; - } - return obreadth; -} - int rpmteNpreds(rpmte te) { return (te != NULL ? te->npreds : 0); |