diff options
| author | Marius Kintel <marius@kintel.net> | 2013-01-30 02:04:03 (GMT) |
|---|---|---|
| committer | Marius Kintel <marius@kintel.net> | 2013-01-30 02:04:03 (GMT) |
| commit | cd9ed9bc9e0fdd43f9f7f1e77ac7b6ae76eaea4a (patch) | |
| tree | 5e764c62eb99bec253ec5ec09c8254953017de36 /tests | |
| parent | 3a9148a1aa68c7421c11840c684d362b68008cf2 (diff) | |
Kill warning when running test in --info mode
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/csgtestcore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc index 3b4a935..36e94e7 100644 --- a/tests/csgtestcore.cc +++ b/tests/csgtestcore.cc @@ -361,7 +361,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type) csgInfo.glview->paintGL(); - csgInfo.glview->save(outfilename); + if (outfilename) csgInfo.glview->save(outfilename); delete root_node; delete root_module; |
