diff options
author | Anders Carlsson <andersca@mac.com> | 2009-07-30 22:37:41 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-07-30 22:37:41 +0000 |
commit | 9668b1f6c87bd8d9af87e29900508a52584404ef (patch) | |
tree | d0a10a8a8fbc1805ba9d3bc779abcbbcd072d3d0 /test/Analysis/array-struct.c | |
parent | b3589f44c5d295cd41de2c83f3475116835eeebd (diff) |
Add casts to avoid a bunch of unused expr warnings. (They aren't reported right now due to a bug that I intend to fix). Ted, please review.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r-- | test/Analysis/array-struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index ba6781eec4..d6b6076a14 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -143,7 +143,7 @@ void f15() { int a[10]; bar(a); if (a[1]) // no-warning - 1; + (void)1; } struct s3 p[1]; |