aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-22 22:55:09 +0000
committerMike Stump <mrs@apple.com>2009-07-22 22:55:09 +0000
commitf0549e2b5c73d65ce96fc37c9030577997fe19d4 (patch)
tree727483a954a7077882ef33304b4991e04b37073c
parent5f85e17df3f5b0a8021443f2b590daecfb2cbd17 (diff)
Prep for new warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76813 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/null-deref-ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/null-deref-ps.c b/test/Analysis/null-deref-ps.c
index f2994f55da..52ed8cd5c4 100644
--- a/test/Analysis/null-deref-ps.c
+++ b/test/Analysis/null-deref-ps.c
@@ -105,7 +105,7 @@ int f6c(int *p, int *q) {
: bar3(p, 2, q); // no-warning
}
-int f6d(int *p) {
+void f6d(int *p) {
bar(p, 0);
// At this point, 'p' cannot be null.
if (!p) {