|
|
6cf099 |
From b211247a005257a4e2dec0d43b719600c51a14d4 Mon Sep 17 00:00:00 2001
|
|
|
6cf099 |
From: Pavel Reichl <preichl@redhat.com>
|
|
|
6cf099 |
Date: Tue, 28 Jul 2015 04:12:48 -0400
|
|
|
6cf099 |
Subject: [PATCH 27/27] TESTS: fix compiler warnings
|
|
|
6cf099 |
MIME-Version: 1.0
|
|
|
6cf099 |
Content-Type: text/plain; charset=UTF-8
|
|
|
6cf099 |
Content-Transfer-Encoding: 8bit
|
|
|
6cf099 |
|
|
|
6cf099 |
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
|
|
|
6cf099 |
---
|
|
|
6cf099 |
src/confdb/confdb.h | 2 +-
|
|
|
6cf099 |
src/tests/cmocka/test_sysdb_views.c | 2 --
|
|
|
6cf099 |
2 files changed, 1 insertion(+), 3 deletions(-)
|
|
|
6cf099 |
|
|
|
6cf099 |
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
|
|
|
6cf099 |
index 36df6aea268cc5c82696f20b1a65963350d5e100..0b0ae0dcf2cd26462a9b0c895d833faf5c85b4e5 100644
|
|
|
6cf099 |
--- a/src/confdb/confdb.h
|
|
|
6cf099 |
+++ b/src/confdb/confdb.h
|
|
|
6cf099 |
@@ -266,7 +266,7 @@ struct sss_domain_info {
|
|
|
6cf099 |
struct timeval subdomains_last_checked;
|
|
|
6cf099 |
|
|
|
6cf099 |
bool has_views;
|
|
|
6cf099 |
- char *view_name;
|
|
|
6cf099 |
+ const char *view_name;
|
|
|
6cf099 |
|
|
|
6cf099 |
struct sss_domain_info *prev;
|
|
|
6cf099 |
struct sss_domain_info *next;
|
|
|
6cf099 |
diff --git a/src/tests/cmocka/test_sysdb_views.c b/src/tests/cmocka/test_sysdb_views.c
|
|
|
6cf099 |
index 83007b76a625edef67109850648b2d71645e22bb..c53d8187b181a5937f642eec32af28e8207b292b 100644
|
|
|
6cf099 |
--- a/src/tests/cmocka/test_sysdb_views.c
|
|
|
6cf099 |
+++ b/src/tests/cmocka/test_sysdb_views.c
|
|
|
6cf099 |
@@ -285,7 +285,6 @@ void test_sysdb_add_overrides_to_object_local(void **state)
|
|
|
6cf099 |
{
|
|
|
6cf099 |
int ret;
|
|
|
6cf099 |
struct ldb_message *orig;
|
|
|
6cf099 |
- struct ldb_message_element *el;
|
|
|
6cf099 |
char *tmp_str;
|
|
|
6cf099 |
struct sysdb_test_ctx *test_ctx = talloc_get_type_abort(*state,
|
|
|
6cf099 |
struct sysdb_test_ctx);
|
|
|
6cf099 |
@@ -314,7 +313,6 @@ void test_sysdb_add_overrides_to_object_missing_overridedn(void **state)
|
|
|
6cf099 |
{
|
|
|
6cf099 |
int ret;
|
|
|
6cf099 |
struct ldb_message *orig;
|
|
|
6cf099 |
- struct ldb_message_element *el;
|
|
|
6cf099 |
char *tmp_str;
|
|
|
6cf099 |
struct sysdb_test_ctx *test_ctx = talloc_get_type_abort(*state,
|
|
|
6cf099 |
struct sysdb_test_ctx);
|
|
|
6cf099 |
--
|
|
|
6cf099 |
2.4.3
|
|
|
6cf099 |
|