Fixed warnings.

This commit is contained in:
Robert Osfield
2004-11-13 21:42:45 +00:00
parent 98a1108696
commit a0fc9632b8
4 changed files with 4 additions and 4 deletions

View File

@@ -378,7 +378,7 @@ osg::Group* setupGraph()
int main( int argc, char **argv )
{
if (argv[1] == NULL)
if (argc<=1)
{
std::cout << "Error: First argument missing!" << std::endl << "First argument -> confFile" << std::endl;
return 0;