Title: [263972] trunk/PerformanceTests
Revision
263972
Author
[email protected]
Date
2020-07-06 09:53:53 -0700 (Mon, 06 Jul 2020)

Log Message

MallocBench: Remove unused private field
https://bugs.webkit.org/show_bug.cgi?id=213989

Patch by Philippe Normand <[email protected]> on 2020-07-06
Reviewed by Alex Christensen.

The m_argc private field is never used. Remove it.

* MallocBench/MallocBench/CommandLine.cpp:
* MallocBench/MallocBench/CommandLine.h:

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (263971 => 263972)


--- trunk/PerformanceTests/ChangeLog	2020-07-06 16:51:41 UTC (rev 263971)
+++ trunk/PerformanceTests/ChangeLog	2020-07-06 16:53:53 UTC (rev 263972)
@@ -1,3 +1,15 @@
+2020-07-06  Philippe Normand  <[email protected]>
+
+        MallocBench: Remove unused private field
+        https://bugs.webkit.org/show_bug.cgi?id=213989
+
+        Reviewed by Alex Christensen.
+
+        The m_argc private field is never used. Remove it.
+        
+        * MallocBench/MallocBench/CommandLine.cpp:
+        * MallocBench/MallocBench/CommandLine.h:
+
 2020-07-01  Saam Barati  <[email protected]>
 
         Make it so JetStream2 can run with the d8 shell

Modified: trunk/PerformanceTests/MallocBench/MallocBench/CommandLine.cpp (263971 => 263972)


--- trunk/PerformanceTests/MallocBench/MallocBench/CommandLine.cpp	2020-07-06 16:51:41 UTC (rev 263971)
+++ trunk/PerformanceTests/MallocBench/MallocBench/CommandLine.cpp	2020-07-06 16:53:53 UTC (rev 263972)
@@ -40,8 +40,7 @@
 };
 
 CommandLine::CommandLine(int argc, char** argv)
-    : m_argc(argc)
-    , m_argv(argv)
+    : m_argv(argv)
     , m_detailedReport(false)
     , m_isParallel(false)
     , m_useThreadID(false)

Modified: trunk/PerformanceTests/MallocBench/MallocBench/CommandLine.h (263971 => 263972)


--- trunk/PerformanceTests/MallocBench/MallocBench/CommandLine.h	2020-07-06 16:51:41 UTC (rev 263971)
+++ trunk/PerformanceTests/MallocBench/MallocBench/CommandLine.h	2020-07-06 16:53:53 UTC (rev 263972)
@@ -46,7 +46,6 @@
 private:
     static struct option longOptions[];
 
-    int m_argc;
     char** m_argv;
     std::string m_benchmarkName;
     bool m_detailedReport;
@@ -57,4 +56,4 @@
     size_t m_runs;
 };
 
-#endif // CommandLine_h
\ No newline at end of file
+#endif // CommandLine_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to