mirror of https://github.com/CGAL/cgal
kill warning
This commit is contained in:
parent
7d2a42123d
commit
dfe92e7da1
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue