summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/null-deref-ps.c
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
commit24cbfc370b2b3ef026ebaf94f3fee08a730724e2 (patch)
treec2d08ed6fcc54bbb0ae8a49aca7a5af8dc1f44a2 /clang/test/Analysis/null-deref-ps.c
parentcc1cd6f48476cbe71a9922d7ec83cb4c7e984ef0 (diff)
downloadbcm5719-llvm-24cbfc370b2b3ef026ebaf94f3fee08a730724e2.tar.gz
bcm5719-llvm-24cbfc370b2b3ef026ebaf94f3fee08a730724e2.zip
Prep for new warning.
llvm-svn: 76813
Diffstat (limited to 'clang/test/Analysis/null-deref-ps.c')
-rw-r--r--clang/test/Analysis/null-deref-ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/null-deref-ps.c b/clang/test/Analysis/null-deref-ps.c
index f2994f55da6..52ed8cd5c46 100644
--- a/clang/test/Analysis/null-deref-ps.c
+++ b/clang/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) {
OpenPOWER on IntegriCloud