stable-2.02 - gcc: cleanup const warning
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6064b9f1b283c63cc3710555a04d2df0c6357cb0 Commit: 6064b9f1b283c63cc3710555a04d2df0c6357cb0 Parent: 6d4f36c2c7f782af31eca7eca63310791a4f8e93 Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Apr 10 12:56:23 2019 +0200 Committer: Zdenek Kabelac <[email protected]> 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(-)
lib/filters/filter-persistent.c +2 -2
@@ -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