summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-03-22 15:58:01 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2018-05-04 16:54:23 +0100
commitaf8bde62148912f90df6807eeda5b9bfb40a329e (patch)
treee4e02b3cf26b0fe6c395526e39f3183af7fe2fc6
parentb16b525cd380ef345c6b2faa5531532118b480a4 (diff)
downloadnetsurf-af8bde62148912f90df6807eeda5b9bfb40a329e.tar.gz
netsurf-af8bde62148912f90df6807eeda5b9bfb40a329e.tar.bz2
Duktape: Prevent clang static analysis.
-rw-r--r--content/handlers/javascript/duktape/duktape.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/handlers/javascript/duktape/duktape.c b/content/handlers/javascript/duktape/duktape.c
index 1375fd153..c8c7891cc 100644
--- a/content/handlers/javascript/duktape/duktape.c
+++ b/content/handlers/javascript/duktape/duktape.c
@@ -1,3 +1,5 @@
+/* Omit from static analysis. */
+#ifndef __clang_analyzer__
/*
* Single source autogenerated distributable for Duktape 2.2.1.
*
@@ -95006,3 +95008,4 @@ DUK_INTERNAL duk_double_t duk_util_tinyrandom_get_double(duk_hthread *thr) {
#undef DUK__RANDOM_XOROSHIRO128PLUS
#undef DUK__RND_BIT
#undef DUK__UPDATE_RND
+#endif