diff options
author | David Robillard <d@drobilla.net> | 2020-07-15 20:42:16 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-17 15:42:20 +0200 |
commit | 647bfaa88c2c6aee3f829cb6fbdd0f1a97eac1df (patch) | |
tree | b1838f2470f3a1d442eac8499b1f72fb4ddd5a40 | |
parent | 373afe837c06bb7c4e6d5836c26bfcf25842e066 (diff) | |
download | sord-647bfaa88c2c6aee3f829cb6fbdd0f1a97eac1df.tar.gz sord-647bfaa88c2c6aee3f829cb6fbdd0f1a97eac1df.tar.bz2 sord-647bfaa88c2c6aee3f829cb6fbdd0f1a97eac1df.zip |
Remove dead code
-rw-r--r-- | src/sord.c | 3 | ||||
-rw-r--r-- | src/sord_validate.c | 2 | ||||
-rw-r--r-- | src/syntax.c | 2 |
3 files changed, 1 insertions, 6 deletions
@@ -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 |