Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: runtime/vm/os_win.cc

Issue 1560233002: Add missing return statement to fix Windows builds (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_win.cc
diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc
index 551607de192d6bde5c6830409c6723edfadbe855..1e055f4c45fe49f1301fdecb3d6111667775c719 100644
--- a/runtime/vm/os_win.cc
+++ b/runtime/vm/os_win.cc
@@ -132,7 +132,7 @@ int64_t OS::GetCurrentMonotonicTicks() {
// Grab performance counter value.
LARGE_INTEGER now;
QueryPerformanceCounter(&now);
- int64_t qpc_value = static_cast<int64_t>(now.QuadPart);
+ return static_cast<int64_t>(now.QuadPart);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698