kill warning

This commit is contained in:
Sylvain Pion 2008-08-21 13:10:38 +00:00
parent 7d2a42123d
commit dfe92e7da1
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ bool unitcube = false;
// ------------------------------------------------------ // ------------------------------------------------------
int main( int argc, char **argv) { int main( int argc, char **argv) {
int n = 0; // number of filenames int n = 0; // number of filenames
char *filename[1]; char *filename[1] = { NULL }; // stop compiler warning (too hard to rewrite the code to avoid it)
bool help = false; bool help = false;
for (int i = 1; i < argc; i++) { // check commandline options for (int i = 1; i < argc; i++) { // check commandline options
if ( strcmp( "-v", argv[i]) == 0) if ( strcmp( "-v", argv[i]) == 0)