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

Unified Diff: content/browser/geolocation/libgps_wrapper_linux.cc

Issue 10542081: Coverity: Restructure logically dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: content/browser/geolocation/libgps_wrapper_linux.cc
diff --git a/content/browser/geolocation/libgps_wrapper_linux.cc b/content/browser/geolocation/libgps_wrapper_linux.cc
index f140335caac4dfe9d46751befcf272ba0f46752a..aabffe92a64e98fc570ccff50ee6b80a4d7063bb 100644
--- a/content/browser/geolocation/libgps_wrapper_linux.cc
+++ b/content/browser/geolocation/libgps_wrapper_linux.cc
@@ -86,9 +86,6 @@ bool LibGps::Start() {
DLOG(WARNING) << "LibGps is only supported on ChromeOS";
return false;
#endif
-
- is_open_ = true;
- return true;
joth 2012/06/08 20:39:00 this is still needed for the OS_CHROMEOS case (it
kmadhusu 2012/06/08 20:47:32 oops.. missed that path.. Fixed now.
}
void LibGps::Stop() {
if (is_open_)
« 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