--- a/src/test/perf/perf-io.cc Sat Apr 17 17:36:53 2010 +0100
+++ b/src/test/perf/perf-io.cc Mon Apr 19 08:37:27 2010 -0700
@@ -50,7 +50,7 @@
{
for (uint32_t i = 0; i < n; ++i)
{
- fwrite (buffer, 1, size, file);
+ size_t __attribute__ ((unused)) result = fwrite (buffer, 1, size, file);
}
}
--- a/utils/test-runner.cc Sat Apr 17 17:36:53 2010 +0100
+++ b/utils/test-runner.cc Mon Apr 19 08:37:27 2010 -0700
@@ -107,7 +107,7 @@
// depends on the leading '/'
//
char pathbuf[PATH_MAX];
- getcwd (pathbuf, sizeof(pathbuf));
+ char * __attribute__ ((unused)) p = getcwd (pathbuf, sizeof(pathbuf));
//
// Walk up the directory tree looking for a directory that has files that