summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-12 17:46:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-03-12 17:46:36 (GMT)
commit51af6cbceae62a62a68e14317e2bac33a1df7b75 (patch)
treef8a6cbbb33b23115e4f1166e0e55faa55fd68e58 /Tests/CMakeCommands
parentd74d154704ce9e4c370bd81d562ce19efd82b5fb (diff)
parentadcc00b16a24d66f7cab5336f31b14a32d3240a7 (diff)
downloadCMake-51af6cbceae62a62a68e14317e2bac33a1df7b75.zip
CMake-51af6cbceae62a62a68e14317e2bac33a1df7b75.tar.gz
CMake-51af6cbceae62a62a68e14317e2bac33a1df7b75.tar.bz2
Merge topic 'clean-target_link_libraries-test'
adcc00b Remove unused parameters from target_link_libraries tests.
Diffstat (limited to 'Tests/CMakeCommands')
-rw-r--r--Tests/CMakeCommands/target_link_libraries/targetA.cpp2
-rw-r--r--Tests/CMakeCommands/target_link_libraries/targetB.cpp2
-rw-r--r--Tests/CMakeCommands/target_link_libraries/targetC.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/targetA.cpp b/Tests/CMakeCommands/target_link_libraries/targetA.cpp
index 559aef7..d1321a1 100644
--- a/Tests/CMakeCommands/target_link_libraries/targetA.cpp
+++ b/Tests/CMakeCommands/target_link_libraries/targetA.cpp
@@ -5,7 +5,7 @@
#include "subdirlib.h"
-int main(int argc, char **argv)
+int main(int, char **)
{
DepA a;
DepB b;
diff --git a/Tests/CMakeCommands/target_link_libraries/targetB.cpp b/Tests/CMakeCommands/target_link_libraries/targetB.cpp
index 063d63a..0913a57 100644
--- a/Tests/CMakeCommands/target_link_libraries/targetB.cpp
+++ b/Tests/CMakeCommands/target_link_libraries/targetB.cpp
@@ -1,7 +1,7 @@
#include "depD.h"
-int main(int argc, char **argv)
+int main(int, char **)
{
DepD d;
DepA a = d.getA();
diff --git a/Tests/CMakeCommands/target_link_libraries/targetC.cpp b/Tests/CMakeCommands/target_link_libraries/targetC.cpp
index ff6ba66..a4ef636 100644
--- a/Tests/CMakeCommands/target_link_libraries/targetC.cpp
+++ b/Tests/CMakeCommands/target_link_libraries/targetC.cpp
@@ -8,7 +8,7 @@
#error Expected TEST_DEF definition
#endif
-int main(int argc, char **argv)
+int main(int, char **)
{
DepG g;