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 | 499de4252d6b924f38c149e5df90138851a9849c (patch) | |
| tree | bdc63114be3154460e9f65761151f12177a44127 /clang/test/Analysis/region-only-test.c | |
| parent | 658fe02d17e28b113df2a381010e9c5296abfd0f (diff) | |
| download | bcm5719-llvm-499de4252d6b924f38c149e5df90138851a9849c.tar.gz bcm5719-llvm-499de4252d6b924f38c149e5df90138851a9849c.zip | |
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.
llvm-svn: 77630
Diffstat (limited to 'clang/test/Analysis/region-only-test.c')
| -rw-r--r-- | clang/test/Analysis/region-only-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/region-only-test.c b/clang/test/Analysis/region-only-test.c index 64d3fcd57b2..8908adb1057 100644 --- a/clang/test/Analysis/region-only-test.c +++ b/clang/test/Analysis/region-only-test.c @@ -9,5 +9,5 @@ void foo(int* p) { if (p[0] == 1) x = &a; if (p[0] == 1) - *x; // no-warning + (void)*x; // no-warning } |

