From 2a2170efc0aac35c98c88f91ec0af23df78b2fe7 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 22 Dec 2010 15:32:15 +0000 Subject: [PATCH] Hide unused code into if 0 Make it obvious for lcov coverage and static analyzis we are not interested in this piece of code. --- lib/activate/dev_manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c index a11d918fe..2fb141388 100644 --- a/lib/activate/dev_manager.c +++ b/lib/activate/dev_manager.c @@ -306,6 +306,7 @@ static const struct dm_info *_cached_info(struct dm_pool *mem, return dinfo; } +#if 0 /* FIXME Interface must cope with multiple targets */ static int _status_run(const char *name, const char *uuid, unsigned long long *s, unsigned long long *l, @@ -383,6 +384,7 @@ static int _status(const char *name, const char *uuid, return 0; } +#endif int lv_has_target_type(struct dm_pool *mem, struct logical_volume *lv, const char *layer, const char *target_type) -- 2.43.5