Skip to content
Snippets Groups Projects
Commit 39e7405c authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

STYLE:remove comment in generateproperties.cpp

parent f1b152ca
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,6 @@ PURPOSE. See the above copyright notices for more information.
int main(int argc, char* argv[])
{
const unsigned int nbParameters = 3;
// if (argc != 5)
// {
// exit(1);
// }
std::ofstream os(argv[1]);
if (!os)
......@@ -47,7 +43,7 @@ int main(int argc, char* argv[])
std::vector <std::string> paramVector;
/* write available parameters to a vector */
/** write available parameters to a vector */
for (unsigned int i=0;i<nbParameters;++i)
{
if ( argc >= ( i+3 ) )
......@@ -61,11 +57,7 @@ int main(int argc, char* argv[])
paramVector.push_back("");
}
}
// std::string language(argv[2]);
// std::string activateStreaming(argv[3]);
// std::string sizeStreaming(argv[4]);
/** Write parameters to the configuration file*/
os << "#Auto generated by config-properties \n"
<< "OTB_LANG="
<< paramVector[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment