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 14690 1d95d9b80e697a1d482adbf53c8e7dd35c968d16
parent 14689 3a4251234a268a5b1dd5d655c7f947c213bf9176
child 14691 3d67f57a05023519d9aa25fd75b42635529e09ed
push id3202
push userfranziskuskiefer@gmail.com
push dateMon, 01 Oct 2018 08:30:12 +0000
reviewersme, bustage
bugs1061483
Bug 1061483 follow-up: remove now-unused deleteCharArray function, r=me, a=bustage
lib/mozpkix/test/lib/pkixtestutil.cpp
--- a/lib/mozpkix/test/lib/pkixtestutil.cpp
+++ b/lib/mozpkix/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)