aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {