Bug 1061483 follow-up: remove now-unused deleteCharArray function, r=me, a=bustage
authorBrian Smith <brian@briansmith.org>
Thu, 04 Sep 2014 15:53:07 -0700
changeset 203715 0d8adc6d6faacb7a29a187b40833747f6935ea67
parent 203714 d052bb1a13b8ab453725984232de9bc87d0f91bd
child 203716 3c00146008c293a783f7b30cef3b73d578c8a146
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersme, bustage
bugs1061483
milestone35.0a1
Bug 1061483 follow-up: remove now-unused deleteCharArray function, r=me, a=bustage
security/pkix/test/lib/pkixtestutil.cpp
--- a/security/pkix/test/lib/pkixtestutil.cpp
+++ b/security/pkix/test/lib/pkixtestutil.cpp
@@ -48,22 +48,16 @@ namespace mozilla { namespace pkix { nam
 static const uint8_t alg_sha256WithRSAEncryption[] = {
   0x30, 0x0b, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b
 };
 const Input sha256WithRSAEncryption(alg_sha256WithRSAEncryption);
 
 namespace {
 
 inline void
-deleteCharArray(char* chars)
-{
-  delete[] chars;
-}
-
-inline void
 fclose_void(FILE* file) {
   (void) fclose(file);
 }
 
 typedef mozilla::pkix::ScopedPtr<FILE, fclose_void> ScopedFILE;
 
 FILE*
 OpenFile(const string& dir, const string& filename, const string& mode)