summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-03-22 15:58:01 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2017-03-23 14:56:32 +0000
commitc98fc7999aede01b037cfd06ea2dd1d0775b69bb (patch)
tree790883ca14bf9ec1d4c6b8d83041abd08ab4d9c4 /content
parent5d39972b9fe74b3618d08cf1bf4b14a01d420809 (diff)
downloadnetsurf-c98fc7999aede01b037cfd06ea2dd1d0775b69bb.tar.gz
netsurf-c98fc7999aede01b037cfd06ea2dd1d0775b69bb.tar.bz2
Duktape: Prevent clang static analysis.
Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.0.2 import.
Diffstat (limited to 'content')
-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 a3457a83b..4e5662188 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.0.2.
*
@@ -91380,3 +91382,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