From 647bfaa88c2c6aee3f829cb6fbdd0f1a97eac1df Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Jul 2020 20:42:16 +0200 Subject: Remove dead code --- src/sord.c | 3 --- src/sord_validate.c | 2 -- src/syntax.c | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/sord.c b/src/sord.c index a60bf08..458d66d 100644 --- a/src/sord.c +++ b/src/sord.c @@ -68,9 +68,6 @@ TUP_FMT_ELEM((t)[2]), \ TUP_FMT_ELEM((t)[3]) -#define TUP_S 0 -#define TUP_P 1 -#define TUP_O 2 #define TUP_G 3 /** Triple ordering */ diff --git a/src/sord_validate.c b/src/sord_validate.c index e15b36f..d0543e3 100644 --- a/src/sord_validate.c +++ b/src/sord_validate.c @@ -39,8 +39,6 @@ # define SORD_LOG_FUNC(fmt, arg1) #endif -#define USTR(s) ((const uint8_t*)(s)) - #define NS_foaf (const uint8_t*)"http://xmlns.com/foaf/0.1/" #define NS_owl (const uint8_t*)"http://www.w3.org/2002/07/owl#" #define NS_rdf (const uint8_t*)"http://www.w3.org/1999/02/22-rdf-syntax-ns#" diff --git a/src/syntax.c b/src/syntax.c index 2d924b3..10b25f9 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -139,7 +139,7 @@ write_statement(SordModel* sord, language.n_bytes = lang_len; language.n_chars = lang_len; language.buf = (const uint8_t*)lang_str; - }; + } // TODO: Subject abbreviation -- cgit v1.2.1