Skip to contentSkip to conversation

stable-2.02 - cov: drop model for origin_from_cow

PATCH Zdenek Kabelac 1 participant 1 message Oct 16, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=92ee7e4c1fe1e6bc5be2fdd54a80d59da07d1fcd
Commit:        92ee7e4c1fe1e6bc5be2fdd54a80d59da07d1fcd
Parent:        9c6089b2d0472a6e212ad0838009f47d611ac1b2
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Sep 12 09:45:52 2020 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Oct 16 17:07:58 2020 +0200

cov: drop model for origin_from_cow

---
 coverity/coverity_model.c | 2 ++
 1 file changed, 2 insertions(+)
coverity/coverity_model.c +2 -0
index 24a6afeef..a6840a6ed 100644
@@ -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)