]> sourceware.org Git - lvm2.git/commitdiff
Hide unused code into if 0
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 22 Dec 2010 15:32:15 +0000 (15:32 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 22 Dec 2010 15:32:15 +0000 (15:32 +0000)
Make it obvious for lcov coverage and static analyzis we
are not interested in this piece of code.

lib/activate/dev_manager.c

index a11d918fe775a2d4d9c8e35ff6522fafda354491..2fb14138855e3daf95c308b28c343553be66eb05 100644 (file)
@@ -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)
This page took 0.043717 seconds and 5 git commands to generate.