summaryrefslogtreecommitdiffstats
path: root/Modules/TestForAnsiForScope.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-05-16 20:33:11 (GMT)
committerBrad King <brad.king@kitware.com>2003-05-16 20:33:11 (GMT)
commita696dbc815f1524435a391fa3d4ed3f0d7d60d3d (patch)
tree45fa3a5da85a3c553c4462cf2f76b002fdf950fc /Modules/TestForAnsiForScope.cxx
parent9c3a6eb410fac4bb34b20d7fe7051cc3980188af (diff)
downloadCMake-a696dbc815f1524435a391fa3d4ed3f0d7d60d3d.zip
CMake-a696dbc815f1524435a391fa3d4ed3f0d7d60d3d.tar.gz
CMake-a696dbc815f1524435a391fa3d4ed3f0d7d60d3d.tar.bz2
ERR: Removed warning for unused variable.
Diffstat (limited to 'Modules/TestForAnsiForScope.cxx')
-rw-r--r--Modules/TestForAnsiForScope.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/TestForAnsiForScope.cxx b/Modules/TestForAnsiForScope.cxx
index 00dd9c9..f2ec760 100644
--- a/Modules/TestForAnsiForScope.cxx
+++ b/Modules/TestForAnsiForScope.cxx
@@ -1,7 +1,7 @@
int main(int, char*[])
{
int i;
- for(int i=0; i < 1; ++i) ;
+ for(int i=0; i < 1; ++i);
+ (void)i;
return 0;
}
-