diff options
author | David Robillard <d@drobilla.net> | 2018-09-17 00:50:04 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-17 00:50:04 +0200 |
commit | 55ab1c4898f2404ed7635e4a1d65c84093e5bdb8 (patch) | |
tree | 336b25a914ba518d3ef4f0fb56e44f7479398bed | |
parent | a3565c5962039f776f5eaaacac7fcbe989a60970 (diff) | |
download | sord-55ab1c4898f2404ed7635e4a1d65c84093e5bdb8.tar.gz sord-55ab1c4898f2404ed7635e4a1d65c84093e5bdb8.tar.bz2 sord-55ab1c4898f2404ed7635e4a1d65c84093e5bdb8.zip |
Remove unused parameter names
-rw-r--r-- | sord/sordmm.hpp | 8 | ||||
-rw-r--r-- | src/sordmm_test.cpp | 2 |
2 files changed, 5 insertions, 5 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) { diff --git a/src/sordmm_test.cpp b/src/sordmm_test.cpp index d0a5a3a..8dc1386 100644 --- a/src/sordmm_test.cpp +++ b/src/sordmm_test.cpp @@ -17,7 +17,7 @@ #include "sord/sordmm.hpp" int -main(int argc, char** argv) +main() { Sord::World world; Sord::Model model(world, "http://example.org/"); |