Gitweb:
https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6064b9f1b283c63cc37...
Commit: 6064b9f1b283c63cc3710555a04d2df0c6357cb0
Parent: 6d4f36c2c7f782af31eca7eca63310791a4f8e93
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Wed Apr 10 12:56:23 2019 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Wed Apr 10 13:30:34 2019 +0200
gcc: cleanup const warning
---
lib/filters/filter-persistent.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/filters/filter-persistent.c b/lib/filters/filter-persistent.c
index 1d24af8..0586942 100644
--- a/lib/filters/filter-persistent.c
+++ b/lib/filters/filter-persistent.c
@@ -50,8 +50,8 @@ struct pfilter {
* by default. The old code for it should be removed.
*/
-static char* _good_device = "good";
-static char* _bad_device = "bad";
+static const char* _good_device = "good";
+static const char* _bad_device = "bad";
/*
* The hash table holds one of these two states