* tests/preprocessing/crop.cc,
* tests/preprocessing/crop_without_localization.cc,
* tests/preprocessing/deskew.cc,
* tests/preprocessing/rotate_90.cc:
Here.
---
scribo/ChangeLog | 10 ++++++++++
scribo/tests/preprocessing/crop.cc | 6 ++----
scribo/tests/preprocessing/crop_without_localization.cc | 6 ++----
scribo/tests/preprocessing/deskew.cc | 6 ++----
scribo/tests/preprocessing/rotate_90.cc | 6 ++----
5 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 5e6a519..a2960ab 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,15 @@
2013-08-27 Roland Levillain <roland(a)lrde.epita.fr>
+ Do not declare main()'s arguments if they are not used.
+
+ * tests/preprocessing/crop.cc,
+ * tests/preprocessing/crop_without_localization.cc,
+ * tests/preprocessing/deskew.cc,
+ * tests/preprocessing/rotate_90.cc:
+ Here.
+
+2013-08-27 Roland Levillain <roland(a)lrde.epita.fr>
+
Remove dead code in Scribo.
* scribo/afp/components.hh,
diff --git a/scribo/tests/preprocessing/crop.cc b/scribo/tests/preprocessing/crop.cc
index 458151b..6479b62 100644
--- a/scribo/tests/preprocessing/crop.cc
+++ b/scribo/tests/preprocessing/crop.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
+// Copyright (C) 2009, 2010, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
@@ -30,10 +30,8 @@
#include "tests/data.hh"
-int main(int argc, char *argv[])
+int main()
{
- (void) argc;
- (void) argv;
using namespace mln;
// Ref
diff --git a/scribo/tests/preprocessing/crop_without_localization.cc
b/scribo/tests/preprocessing/crop_without_localization.cc
index c66e15a..a594149 100644
--- a/scribo/tests/preprocessing/crop_without_localization.cc
+++ b/scribo/tests/preprocessing/crop_without_localization.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
+// Copyright (C) 2009, 2010, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
@@ -32,10 +32,8 @@
#include "tests/data.hh"
-int main(int argc, char *argv[])
+int main()
{
- (void) argc;
- (void) argv;
using namespace mln;
// Ref
diff --git a/scribo/tests/preprocessing/deskew.cc b/scribo/tests/preprocessing/deskew.cc
index 922152b..68256da 100644
--- a/scribo/tests/preprocessing/deskew.cc
+++ b/scribo/tests/preprocessing/deskew.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
+// Copyright (C) 2009, 2010, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
@@ -37,10 +37,8 @@
#include "tests/data.hh"
-int main(int argc, char *argv[])
+int main()
{
- (void) argc;
- (void) argv;
using namespace mln;
image2d<value::int_u8> ima;
diff --git a/scribo/tests/preprocessing/rotate_90.cc
b/scribo/tests/preprocessing/rotate_90.cc
index 5118eb0..8440e26 100644
--- a/scribo/tests/preprocessing/rotate_90.cc
+++ b/scribo/tests/preprocessing/rotate_90.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2010, 2013 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -32,10 +32,8 @@
#include "tests/data.hh"
-int main(int argc, char *argv[])
+int main()
{
- (void) argc;
- (void) argv;
using namespace mln;
--
1.7.10.4