Index: runtime/bin/main.cc |
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
index e5e60dc1e23498a86bf21d39ccd28c58faa2d928..464248693688501638eaa5d9c2a8d0de69cc6c3e 100644 |
--- a/runtime/bin/main.cc |
+++ b/runtime/bin/main.cc |
@@ -411,8 +411,10 @@ static bool ProcessRunFullSnapshotOption( |
#ifndef DART_PRODUCT_BINARY |
Log::PrintErr("Full Application snapshots can only be be run with" |
" dart_product\n"); |
-#endif |
+ return false; |
+#else |
return ProcessSnapshotOptionHelper(filename, &run_full_snapshot); |
+#endif // defined(DART_PRODUCT_BINARY) |
} |