[llvm-commits] [compiler-rt] r153601 - /compiler-rt/trunk/lib/asan/tests/asan_racy_double_free_test.cc
Kostya Serebryany
kcc at google.com
Wed Mar 28 14:03:34 PDT 2012
Author: kcc
Date: Wed Mar 28 16:03:34 2012
New Revision: 153601
URL: http://llvm.org/viewvc/llvm-project?rev=153601&view=rev
Log:
[asan] fix lint
Modified:
compiler-rt/trunk/lib/asan/tests/asan_racy_double_free_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_racy_double_free_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_racy_double_free_test.cc?rev=153601&r1=153600&r2=153601&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_racy_double_free_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_racy_double_free_test.cc Wed Mar 28 16:03:34 2012
@@ -5,7 +5,7 @@
const int N = 1000;
void *x[N];
-void *Thread1(void *) {
+void *Thread1(void *unused) {
for (int i = 0; i < N; i++) {
fprintf(stderr, "%s %d\n", __FUNCTION__, i);
free(x[i]);
@@ -13,7 +13,7 @@
return NULL;
}
-void *Thread2(void *) {
+void *Thread2(void *unused) {
for (int i = 0; i < N; i++) {
fprintf(stderr, "%s %d\n", __FUNCTION__, i);
free(x[i]);
More information about the llvm-commits
mailing list