summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exempi/main.cpp4
-rw-r--r--exempi/tests/testcpp.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/exempi/main.cpp b/exempi/main.cpp
index 4cca1ca..8ba0de5 100644
--- a/exempi/main.cpp
+++ b/exempi/main.cpp
@@ -193,7 +193,7 @@ int main(int argc, char **argv)
return 0;
}
-static XmpPtr get_xmp_from_sidecar(const char *filename, bool is_an_xmp)
+static XmpPtr get_xmp_from_sidecar(const char *filename, bool /*is_an_xmp*/)
{
struct stat s;
@@ -280,7 +280,7 @@ static void get_xmp_prop(const char *filename, const std::string &value_name,
static void set_xmp_prop(const char *filename, const std::string &value_name,
const std::string &prop_value, bool no_reconcile,
- bool is_an_xmp, bool write_in_place, FILE *outio)
+ bool is_an_xmp, bool write_in_place, FILE * /*outio*/)
{
xmp::ScopedPtr<XmpPtr> xmp(
get_xmp_from_file(filename, no_reconcile, is_an_xmp));
diff --git a/exempi/tests/testcpp.cpp b/exempi/tests/testcpp.cpp
index 13f944f..da4c40f 100644
--- a/exempi/tests/testcpp.cpp
+++ b/exempi/tests/testcpp.cpp
@@ -43,7 +43,7 @@
using boost::unit_test::test_suite;
-int test_main(int argc, char* argv[])
+int test_main(int /*argc*/, char* /*argv*/ [])
{
// this test is totally useless without leak checking.
// but for compiling.