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

Unified Diff: sandbox/linux/services/credentials.cc

Issue 1017623003: Add return statement to LinuxCapabilityToKernelValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/services/credentials.cc
diff --git a/sandbox/linux/services/credentials.cc b/sandbox/linux/services/credentials.cc
index 48cdc0bc40e8d650a8a3131f9cf0112e0ba64c32..2e66d97cf53a45895d0ea7caeb1e8315f0a510a8 100644
--- a/sandbox/linux/services/credentials.cc
+++ b/sandbox/linux/services/credentials.cc
@@ -120,6 +120,7 @@ int LinuxCapabilityToKernelValue(LinuxCapability cap) {
}
LOG(FATAL) << "Invalid LinuxCapability: " << static_cast<int>(cap);
+ return 0;
}
} // namespace.
« 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