summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sord.c3
-rw-r--r--src/sord_validate.c2
-rw-r--r--src/syntax.c2
3 files changed, 1 insertions, 6 deletions
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