From fd28a619da3dda5f9b897abbb469cf699098e965 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Tue, 21 Jul 2009 18:44:24 +0000 Subject: [PATCH] Prep for new warnings about control flow falling off the ends of functions that return a value. I was going to buffer the whole lot up, but it should be easier to review if I check them in incrementally. Most of the forth coming changes either add a return value, or make it impossible to return, or alter the return type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76605 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/complex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Analysis/complex.c b/test/Analysis/complex.c index 6f850695ce..e1e60bbe2f 100644 --- a/test/Analysis/complex.c +++ b/test/Analysis/complex.c @@ -7,7 +7,7 @@ #include -int f1(int * p) { +void f1(int * p) { // This branch should be infeasible // because __imag__ p is 0. -- 2.50.1