summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coverity/coverity_model.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/coverity/coverity_model.c b/coverity/coverity_model.c
index 250aadf4c..24a6afeef 100644
--- a/coverity/coverity_model.c
+++ b/coverity/coverity_model.c
@@ -41,6 +41,19 @@ struct lv_segment *last_seg(const struct logical_volume *lv)
return ((struct lv_segment **)lv)[0];
}
+const char *find_config_tree_str(struct cmd_context *cmd, int id, struct profile *profile)
+{
+ return "STRING";
+}
+
+struct logical_volume *origin_from_cow(const struct logical_volume *lv)
+{
+ if (lv)
+ return lv;
+
+ __coverity_panic__();
+}
+
/* simple_memccpy() from glibc */
void *memccpy(void *dest, const void *src, int c, size_t n)
{