summaryrefslogtreecommitdiff
path: root/coverity
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2020-09-12 09:45:52 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2020-09-12 13:23:49 +0200
commita5d45b237dbb6d9c1984fd98ba84bce9bde0ea99 (patch)
tree0dbdd9397faa6be9b925681186f4821630e23827 /coverity
parenta9cb96f146377ff59a34a40792a9d8537ec89755 (diff)
downloadlvm2-a5d45b237dbb6d9c1984fd98ba84bce9bde0ea99.tar.gz
cov: drop model for origin_from_cow
Diffstat (limited to 'coverity')
-rw-r--r--coverity/coverity_model.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/coverity/coverity_model.c b/coverity/coverity_model.c
index 24a6afeef..a6840a6ed 100644
--- a/coverity/coverity_model.c
+++ b/coverity/coverity_model.c
@@ -46,6 +46,7 @@ const char *find_config_tree_str(struct cmd_context *cmd, int id, struct profile
return "STRING";
}
+/*
struct logical_volume *origin_from_cow(const struct logical_volume *lv)
{
if (lv)
@@ -53,6 +54,7 @@ struct logical_volume *origin_from_cow(const struct logical_volume *lv)
__coverity_panic__();
}
+*/
/* simple_memccpy() from glibc */
void *memccpy(void *dest, const void *src, int c, size_t n)