aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Analysis/dead-stores.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/Analysis/dead-stores.c b/test/Analysis/dead-stores.c
index 54e89ea5c3..08507553f9 100644
--- a/test/Analysis/dead-stores.c
+++ b/test/Analysis/dead-stores.c
@@ -2,8 +2,8 @@
void x() {
int k, y;
- int abc=1;
- long idx=abc+3*5; // expected-warning {{value stored to variable is never used}}
+ int abc=1;
+ long idx=abc+3*5; // expected-warning {{value stored to variable is never used}}
}
void a(void *b) {
@@ -13,9 +13,9 @@ void a(void *b) {
}
void z() {
- int r;
- if ((r = f()) != 0) { // no-warning
- int y = r; // no-warning
- printf("the error is: %d\n", y);
- }
+ int r;
+ if ((r = f()) != 0) { // no-warning
+ int y = r; // no-warning
+ printf("the error is: %d\n", y);
+ }
}