diff options
-rw-r--r-- | src/confdb/confdb.h | 2 | ||||
-rw-r--r-- | src/tests/cmocka/test_sysdb_views.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 36df6aea2..0b0ae0dcf 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -266,7 +266,7 @@ struct sss_domain_info { struct timeval subdomains_last_checked; bool has_views; - char *view_name; + const char *view_name; struct sss_domain_info *prev; struct sss_domain_info *next; diff --git a/src/tests/cmocka/test_sysdb_views.c b/src/tests/cmocka/test_sysdb_views.c index 83007b76a..c53d8187b 100644 --- a/src/tests/cmocka/test_sysdb_views.c +++ b/src/tests/cmocka/test_sysdb_views.c @@ -285,7 +285,6 @@ void test_sysdb_add_overrides_to_object_local(void **state) { int ret; struct ldb_message *orig; - struct ldb_message_element *el; char *tmp_str; struct sysdb_test_ctx *test_ctx = talloc_get_type_abort(*state, struct sysdb_test_ctx); @@ -314,7 +313,6 @@ void test_sysdb_add_overrides_to_object_missing_overridedn(void **state) { int ret; struct ldb_message *orig; - struct ldb_message_element *el; char *tmp_str; struct sysdb_test_ctx *test_ctx = talloc_get_type_abort(*state, struct sysdb_test_ctx); |