diff options
| author | Hein-Pieter van Braam | 2017-09-02 22:32:31 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2017-09-08 15:03:53 +0200 |
| commit | b2a38854fdde296fd2d7da139a29b23a18ab494d (patch) | |
| tree | 951326f4d966e01d4f8d4402dc7beb2252560b7a /editor/project_export.cpp | |
| parent | d1cb73b47a17de830d9474026ffa7b3587cfbc68 (diff) | |
| download | godot-b2a38854fdde296fd2d7da139a29b23a18ab494d.tar.gz godot-b2a38854fdde296fd2d7da139a29b23a18ab494d.tar.zst godot-b2a38854fdde296fd2d7da139a29b23a18ab494d.zip | |
Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
Diffstat (limited to 'editor/project_export.cpp')
| -rw-r--r-- | editor/project_export.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp index d649afc59..a47ad1370 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -732,6 +732,8 @@ void ProjectExportDialog::_export_project_to_path(const String &p_path) { ERR_FAIL_COND(platform.is_null()); Error err = platform->export_project(current, export_debug->is_pressed(), p_path, 0); + if (err != OK) + ERR_PRINT("Failed to export project"); } void ProjectExportDialog::_bind_methods() { |
