From: Michael Schroeder Date: Tue, 8 Oct 2019 12:11:55 +0000 (+0200) Subject: Remove ununsed inline functions X-Git-Tag: 0.7.7~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f428e2bd8d23e6d75ad461413d8b374c7560e31f;p=thirdparty%2Flibsolv.git Remove ununsed inline functions --- diff --git a/src/order.c b/src/order.c index c45a9a22..b8d4b821 100644 --- a/src/order.c +++ b/src/order.c @@ -598,6 +598,7 @@ breakcycle(struct orderdata *od, Id *cycle) POOL_DEBUG(SOLV_DEBUG_STATS, "\n"); } +#if 0 static inline void dump_tes(struct orderdata *od) { @@ -628,6 +629,7 @@ dump_tes(struct orderdata *od) } } } +#endif static void reachable(struct orderdata *od, Id i) diff --git a/src/repo_write.c b/src/repo_write.c index d3b8a832..2a03e580 100644 --- a/src/repo_write.c +++ b/src/repo_write.c @@ -186,16 +186,6 @@ write_id(Repodata *data, Id x) } } -static inline void -write_id_eof(Repodata *data, Id x, int eof) -{ - if (x >= 64) - x = (x & 63) | ((x & ~63) << 1); - write_id(data, x | (eof ? 0 : 64)); -} - - - static inline void write_str(Repodata *data, const char *str) {