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

Unified Diff: remoting/client/x11_client.cc

Issue 2826004: Coverity: Fix missing return in error check in remoting::X11Client::DoInitX11. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 6 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: remoting/client/x11_client.cc
diff --git a/remoting/client/x11_client.cc b/remoting/client/x11_client.cc
index 75314905a4cfd77a88602f5f2656563d5b492a8c..11b0ebf5c5fe20d0b143387448bc860b22edde88 100644
--- a/remoting/client/x11_client.cc
+++ b/remoting/client/x11_client.cc
@@ -97,6 +97,7 @@ class X11Client : public base::RefCountedThreadSafe<X11Client>,
if (!display_) {
std::cout << "Error - cannot open display" << std::endl;
client_done_->Signal();
+ return;
}
// Get properties of the screen.
« 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