repair unused returns in perfio and test-runner

This commit is contained in:
Craig Dowell
2010-04-19 08:37:27 -07:00
parent cb147db6aa
commit ba3152296c
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ PerfFile (FILE *file, uint32_t n, const char *buffer, uint32_t size)
{
for (uint32_t i = 0; i < n; ++i)
{
fwrite (buffer, 1, size, file);
size_t __attribute__ ((unused)) result = fwrite (buffer, 1, size, file);
}
}

View File

@@ -107,7 +107,7 @@ BaseDir (void)
// 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