From: Jordan Rose Date: Mon, 7 Apr 2014 16:36:15 +0000 (+0000) Subject: [analyzer] Fix mistake in example for potential checker "posix.Errno". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=053ce3e7118f94456c0f052b79bb38e64f910cd6;p=clang [analyzer] Fix mistake in example for potential checker "posix.Errno". Found by Richard Osbourne! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205721 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/www/analyzer/potential_checkers.html b/www/analyzer/potential_checkers.html index 6ec68a9909..335e50d848 100644 --- a/www/analyzer/potential_checkers.html +++ b/www/analyzer/potential_checkers.html @@ -335,7 +335,7 @@ int readWrapper(int fd, int *count) { void use(int fd) { int count; - if (!readWrapper(fd)) + if (!readWrapper(fd, &count)) print("%d", count); // should not warn } PR18701