[libsecret/wip/dueno/gitlab-ci] build: Remove unused constants
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret/wip/dueno/gitlab-ci] build: Remove unused constants
- Date: Wed, 6 Jun 2018 09:08:09 +0000 (UTC)
commit 01090cf6c48b507ab71bde52467cdc0913402093
Author: Daiki Ueno <dueno src gnome org>
Date: Wed Jun 6 11:07:32 2018 +0200
build: Remove unused constants
libsecret/test-methods.c | 10 ----------
libsecret/test-password.c | 10 ----------
libsecret/test-paths.c | 19 -------------------
3 files changed, 39 deletions(-)
---
diff --git a/libsecret/test-methods.c b/libsecret/test-methods.c
index 3964155..c0aecd4 100644
--- a/libsecret/test-methods.c
+++ b/libsecret/test-methods.c
@@ -39,16 +39,6 @@ static const SecretSchema MOCK_SCHEMA = {
}
};
-static const SecretSchema PRIME_SCHEMA = {
- "org.mock.Prime",
- SECRET_SCHEMA_NONE,
- {
- { "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
- { "string", SECRET_SCHEMA_ATTRIBUTE_STRING },
- { "prime", SECRET_SCHEMA_ATTRIBUTE_BOOLEAN },
- }
-};
-
static const SecretSchema NO_NAME_SCHEMA = {
"unused.Schema.Name",
SECRET_SCHEMA_DONT_MATCH_NAME,
diff --git a/libsecret/test-password.c b/libsecret/test-password.c
index e379283..b745427 100644
--- a/libsecret/test-password.c
+++ b/libsecret/test-password.c
@@ -37,16 +37,6 @@ static const SecretSchema MOCK_SCHEMA = {
}
};
-static const SecretSchema PRIME_SCHEMA = {
- "org.mock.Prime",
- SECRET_SCHEMA_NONE,
- {
- { "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
- { "string", SECRET_SCHEMA_ATTRIBUTE_STRING },
- { "prime", SECRET_SCHEMA_ATTRIBUTE_BOOLEAN },
- }
-};
-
static const SecretSchema NO_NAME_SCHEMA = {
"unused.Schema.Name",
SECRET_SCHEMA_DONT_MATCH_NAME,
diff --git a/libsecret/test-paths.c b/libsecret/test-paths.c
index 631ce13..b703344 100644
--- a/libsecret/test-paths.c
+++ b/libsecret/test-paths.c
@@ -39,25 +39,6 @@ static const SecretSchema MOCK_SCHEMA = {
}
};
-static const SecretSchema PRIME_SCHEMA = {
- "org.mock.Prime",
- SECRET_SCHEMA_NONE,
- {
- { "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
- { "string", SECRET_SCHEMA_ATTRIBUTE_STRING },
- { "prime", SECRET_SCHEMA_ATTRIBUTE_BOOLEAN },
- }
-};
-
-static const SecretSchema NO_NAME_SCHEMA = {
- "unused.Schema.Name",
- SECRET_SCHEMA_DONT_MATCH_NAME,
- {
- { "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
- { "string", SECRET_SCHEMA_ATTRIBUTE_STRING },
- }
-};
-
typedef struct {
SecretService *service;
} Test;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]