From a3753c1b2b765eef35e5237006b0b6fc21affd34 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 6 Jun 2018 11:07:32 +0200 Subject: [PATCH] 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;