* testsuite_files/util/testsuite_performance.h
(resource_counter::start): Ignore unused malloc(0) result.
From-SVN: r275284
+2019-09-01 François Dumont <fdumont@gcc.gnu.org>
+
+ * testsuite_files/util/testsuite_performance.h
+ (resource_counter::start): Ignore unused malloc(0) result.
+
2019-09-01 Gerald Pfeifer <gerald@pfeifer.com>
* doc/xml/manual/policy_data_structures_biblio.xml (COM: Component
{
if (getrusage(who, &rusage_begin) != 0 )
memset(&rusage_begin, 0, sizeof(rusage_begin));
- malloc(0); // Needed for some implementations.
+ void* p __attribute__((unused)) = malloc(0); // Needed for some implementations.
allocation_begin = mallinfo();
}