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

Unified Diff: ppapi/proxy/serialized_var.cc

Issue 197203004: Fix "unreachable code" warnings (MSVC warning 4702) in ppapi/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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 | ppapi/tests/test_file_mapping.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/serialized_var.cc
===================================================================
--- ppapi/proxy/serialized_var.cc (revision 256983)
+++ ppapi/proxy/serialized_var.cc (working copy)
@@ -68,8 +68,7 @@
#if defined(NACL_WIN64)
NOTREACHED();
return PP_MakeUndefined();
-#endif
-
+#else
if (raw_var_data_.get()) {
var_ = raw_var_data_->CreatePPVar(instance_);
raw_var_data_.reset(NULL);
@@ -76,6 +75,7 @@
}
return var_;
+#endif
}
void SerializedVar::Inner::SetVar(PP_Var var) {
« no previous file with comments | « no previous file | ppapi/tests/test_file_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698