summaryrefslogtreecommitdiffstats
path: root/remoting/client/x11_client.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 19:35:17 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 19:35:17 +0000
commit7a1d304b851acf753e3584ca9de9537c8808dd53 (patch)
tree1b5e662c99a3feafc1ec52b63424b2c11afe2c66 /remoting/client/x11_client.cc
parente02e32734ca4dbdc9296e37433ca96f616892868 (diff)
downloadchromium_src-7a1d304b851acf753e3584ca9de9537c8808dd53.zip
chromium_src-7a1d304b851acf753e3584ca9de9537c8808dd53.tar.gz
chromium_src-7a1d304b851acf753e3584ca9de9537c8808dd53.tar.bz2
Coverity: Fix missing return in error check in remoting::X11Client::DoInitX11.
CID=10883 BUG=none TEST=builds Review URL: http://codereview.chromium.org/2826004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/x11_client.cc')
-rw-r--r--remoting/client/x11_client.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/client/x11_client.cc b/remoting/client/x11_client.cc
index 7531490..11b0ebf 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.