[opencv] 44/89: viz: eliminate warnings from tutorial code
Nobuhiro Iwamatsu
iwamatsu at moszumanska.debian.org
Sat May 13 09:57:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
iwamatsu pushed a commit to annotated tag 2.4.13.2
in repository opencv.
commit 11b642fb8cc342f9f4e33ab0cf8f1383dba5da5d
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date: Fri Oct 21 18:22:07 2016 +0300
viz: eliminate warnings from tutorial code
---
samples/cpp/tutorial_code/viz/creating_widgets.cpp | 2 +-
samples/cpp/tutorial_code/viz/launching_viz.cpp | 2 +-
samples/cpp/tutorial_code/viz/transformations.cpp | 4 ++--
samples/cpp/tutorial_code/viz/widget_pose.cpp | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/samples/cpp/tutorial_code/viz/creating_widgets.cpp b/samples/cpp/tutorial_code/viz/creating_widgets.cpp
index 9ee6c54..db6fb48 100644
--- a/samples/cpp/tutorial_code/viz/creating_widgets.cpp
+++ b/samples/cpp/tutorial_code/viz/creating_widgets.cpp
@@ -24,7 +24,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
-void help()
+static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl
diff --git a/samples/cpp/tutorial_code/viz/launching_viz.cpp b/samples/cpp/tutorial_code/viz/launching_viz.cpp
index 55a3dde..4cc90fe 100644
--- a/samples/cpp/tutorial_code/viz/launching_viz.cpp
+++ b/samples/cpp/tutorial_code/viz/launching_viz.cpp
@@ -14,7 +14,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
-void help()
+static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl
diff --git a/samples/cpp/tutorial_code/viz/transformations.cpp b/samples/cpp/tutorial_code/viz/transformations.cpp
index d8713fd..fe26c4e 100644
--- a/samples/cpp/tutorial_code/viz/transformations.cpp
+++ b/samples/cpp/tutorial_code/viz/transformations.cpp
@@ -15,7 +15,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
-void help()
+static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl
@@ -31,7 +31,7 @@ void help()
* @function cvcloud_load
* @brief load bunny.ply
*/
-Mat cvcloud_load()
+static Mat cvcloud_load()
{
Mat cloud(1, 1889, CV_32FC3);
ifstream ifs("bunny.ply");
diff --git a/samples/cpp/tutorial_code/viz/widget_pose.cpp b/samples/cpp/tutorial_code/viz/widget_pose.cpp
index 3ecead8..d36f4fe 100644
--- a/samples/cpp/tutorial_code/viz/widget_pose.cpp
+++ b/samples/cpp/tutorial_code/viz/widget_pose.cpp
@@ -15,7 +15,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
-void help()
+static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git
More information about the debian-science-commits
mailing list