From 7a1d304b851acf753e3584ca9de9537c8808dd53 Mon Sep 17 00:00:00 2001 From: "mattm@chromium.org" Date: Wed, 16 Jun 2010 19:35:17 +0000 Subject: 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 --- remoting/client/x11_client.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'remoting/client') 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, if (!display_) { std::cout << "Error - cannot open display" << std::endl; client_done_->Signal(); + return; } // Get properties of the screen. -- cgit v1.1