diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-02 17:00:22 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-02 17:00:22 +0000 |
commit | f349d9122d2fd8e5a37ddf8c722b1a4af33f7d8d (patch) | |
tree | c804fbdc0d1aafe7f6087e77c7955c46bc185262 /net/base/x509_certificate.cc | |
parent | 051c9757323919759d01d216e396fcc2a4bff855 (diff) | |
download | chromium_src-f349d9122d2fd8e5a37ddf8c722b1a4af33f7d8d.zip chromium_src-f349d9122d2fd8e5a37ddf8c722b1a4af33f7d8d.tar.gz chromium_src-f349d9122d2fd8e5a37ddf8c722b1a4af33f7d8d.tar.bz2 |
Remove a few unused functions.
I temporarily enabled -Wunused-function in build/common.gypi, sent a tryjob
to the linux clangbot, and fixed the fallout.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7548004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/x509_certificate.cc')
-rw-r--r-- | net/base/x509_certificate.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/net/base/x509_certificate.cc b/net/base/x509_certificate.cc index 0c52de7..c4a7f51 100644 --- a/net/base/x509_certificate.cc +++ b/net/base/x509_certificate.cc @@ -32,16 +32,6 @@ namespace net { namespace { -// Returns true if this cert fingerprint is the null (all zero) fingerprint. -// We use this as a bogus fingerprint value. -bool IsNullFingerprint(const SHA1Fingerprint& fingerprint) { - for (size_t i = 0; i < arraysize(fingerprint.data); ++i) { - if (fingerprint.data[i] != 0) - return false; - } - return true; -} - // Indicates the order to use when trying to decode binary data, which is // based on (speculation) as to what will be most common -> least common const X509Certificate::Format kFormatDecodePriority[] = { |