This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
2b083b19eb
CMake
/
Modules
/
TestForAnsiForScope.cxx
8 lines
87 B
C++
Raw
Normal View
History
Unescape
Escape
Complete rework of makefile generators expect trouble
2002-11-08 23:46:08 +03:00
int
main
(
int
,
char
*
[
]
)
Remove trailing whitespace from most CMake and C/C++ code Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
2012-08-13 21:42:58 +04:00
{
Complete rework of makefile generators expect trouble
2002-11-08 23:46:08 +03:00
int
i
;
ERR: Removed warning for unused variable.
2003-05-17 00:33:11 +04:00
for
(
int
i
=
0
;
i
<
1
;
+
+
i
)
;
(
void
)
i
;
Complete rework of makefile generators expect trouble
2002-11-08 23:46:08 +03:00
return
0
;
}