* src/text_in_picture.cc,
* src/text_recognition_in_picture.cc,
* tests/convert/base64.cc,
* tests/estim/font_boldness.cc,
* tests/estim/font_color.cc,
* tests/toolchain/nepomuk/text_extraction.cc,
* tests/util/component_precise_outline.cc:
Here.
---
scribo/ChangeLog | 13 +++++++++++++
scribo/src/text_in_picture.cc | 2 --
scribo/src/text_recognition_in_picture.cc | 2 --
scribo/tests/convert/base64.cc | 5 +----
scribo/tests/estim/font_boldness.cc | 4 +---
scribo/tests/estim/font_color.cc | 4 +---
scribo/tests/toolchain/nepomuk/text_extraction.cc | 2 --
scribo/tests/util/component_precise_outline.cc | 4 +---
8 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 0a54632..78069ac 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,16 @@
+2013-09-12 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Scribo: Remove `return 0;' statements at end of main().
+
+ * src/text_in_picture.cc,
+ * src/text_recognition_in_picture.cc,
+ * tests/convert/base64.cc,
+ * tests/estim/font_boldness.cc,
+ * tests/estim/font_color.cc,
+ * tests/toolchain/nepomuk/text_extraction.cc,
+ * tests/util/component_precise_outline.cc:
+ Here.
+
2013-09-05 Roland Levillain <roland(a)lrde.epita.fr>
Exercise the multi-scale Sauvola binarization with a TIFF image.
diff --git a/scribo/src/text_in_picture.cc b/scribo/src/text_in_picture.cc
index eb3b65a..52c0a49 100644
--- a/scribo/src/text_in_picture.cc
+++ b/scribo/src/text_in_picture.cc
@@ -114,6 +114,4 @@ int main(int argc, char* argv[])
comps.labeled_image(),
comps.nelements()),
options.arg("output.ppm"));
-
- return 0;
}
diff --git a/scribo/src/text_recognition_in_picture.cc
b/scribo/src/text_recognition_in_picture.cc
index 0a4b62c..6d711bc 100644
--- a/scribo/src/text_recognition_in_picture.cc
+++ b/scribo/src/text_recognition_in_picture.cc
@@ -213,6 +213,4 @@ int main(int argc, char* argv[])
if (verbose)
std::cout << output.nelements() << " text lines found."
<< std::endl;
-
- return 0;
}
diff --git a/scribo/tests/convert/base64.cc b/scribo/tests/convert/base64.cc
index 18d08d9..0f7a493 100644
--- a/scribo/tests/convert/base64.cc
+++ b/scribo/tests/convert/base64.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE).
+// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE).
//
// This file is part of Olena.
//
@@ -83,7 +83,4 @@ int main()
mln_assertion(outbin == ima);
}
-
-
- return 0;
}
diff --git a/scribo/tests/estim/font_boldness.cc b/scribo/tests/estim/font_boldness.cc
index bc42054..8604036 100644
--- a/scribo/tests/estim/font_boldness.cc
+++ b/scribo/tests/estim/font_boldness.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE).
+// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE).
//
// This file is part of Olena.
//
@@ -43,6 +43,4 @@ int main()
volatile float ref = 18.44f;
mln_assertion(val == ref);
-
- return 0;
}
diff --git a/scribo/tests/estim/font_color.cc b/scribo/tests/estim/font_color.cc
index 45c453d..afc0ee2 100644
--- a/scribo/tests/estim/font_color.cc
+++ b/scribo/tests/estim/font_color.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE).
+// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE).
//
// This file is part of Olena.
//
@@ -43,6 +43,4 @@ int main()
value::rgb8 val = scribo::estim::font_color(input_rgb, input_bin);
mln_assertion(val == value::rgb8(77, 146, 140));
-
- return 0;
}
diff --git a/scribo/tests/toolchain/nepomuk/text_extraction.cc
b/scribo/tests/toolchain/nepomuk/text_extraction.cc
index 6aa6205..a29ae8e 100644
--- a/scribo/tests/toolchain/nepomuk/text_extraction.cc
+++ b/scribo/tests/toolchain/nepomuk/text_extraction.cc
@@ -42,6 +42,4 @@ int main()
mln_assertion(words.size() == 1);
QString word = words.toList().at(0).toLower();
mln_assertion(word == "wildly");
-
- return 0;
}
diff --git a/scribo/tests/util/component_precise_outline.cc
b/scribo/tests/util/component_precise_outline.cc
index af219f3..9f78f7e 100644
--- a/scribo/tests/util/component_precise_outline.cc
+++ b/scribo/tests/util/component_precise_outline.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -136,6 +136,4 @@ int main()
for (unsigned i = 0; i < par.nsites(); ++i)
mln_assertion(par[i] == ref_lbl_compress[i]);
}
-
- return 0;
}
--
1.7.10.4