summaryrefslogtreecommitdiffstats
path: root/sord/sordmm.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-17 00:50:04 +0200
committerDavid Robillard <d@drobilla.net>2018-09-17 00:50:04 +0200
commit55ab1c4898f2404ed7635e4a1d65c84093e5bdb8 (patch)
tree336b25a914ba518d3ef4f0fb56e44f7479398bed /sord/sordmm.hpp
parenta3565c5962039f776f5eaaacac7fcbe989a60970 (diff)
downloadsord-55ab1c4898f2404ed7635e4a1d65c84093e5bdb8.tar.gz
sord-55ab1c4898f2404ed7635e4a1d65c84093e5bdb8.tar.bz2
sord-55ab1c4898f2404ed7635e4a1d65c84093e5bdb8.zip
Remove unused parameter names
Diffstat (limited to 'sord/sordmm.hpp')
-rw-r--r--sord/sordmm.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index ee33289..586805d 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -246,7 +246,7 @@ public:
: Node(world, Node::LITERAL, s) {}
static inline Node decimal(World& world, double d, unsigned frac_digits) {
- const SerdNode val = serd_node_new_decimal(d, 7);
+ const SerdNode val = serd_node_new_decimal(d, frac_digits);
const SerdNode type = serd_node_from_string(
SERD_URI, (const uint8_t*)SORD_NS_XSD "decimal");
@@ -493,8 +493,8 @@ inline void
Model::load_string(SerdEnv* env,
SerdSyntax syntax,
const char* str,
- size_t len,
- const std::string& base_uri)
+ size_t /*len*/,
+ const std::string& /*base_uri*/)
{
SerdReader* reader = sord_new_reader(_c_obj, env, syntax, NULL);
serd_reader_read_string(reader, (const uint8_t*)str);
@@ -510,7 +510,7 @@ inline void
Model::load_file(SerdEnv* env,
SerdSyntax syntax,
const std::string& data_uri,
- const std::string& base_uri)
+ const std::string& /*base_uri*/)
{
uint8_t* path = serd_file_uri_parse((const uint8_t*)data_uri.c_str(), NULL);
if (!path) {