summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape/duktape.c
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-08-10 11:12:20 +0100
commitf5f2ebb37a6ba75b4447f6ad817d06f81524045e (patch)
tree9053875397eac15fb42d77578c848104624d1002 /content/handlers/javascript/duktape/duktape.c
parentae126cfdd5ca2ed8e32ce5ba1d3d9e6d3c49ce87 (diff)
downloadnetsurf-f5f2ebb37a6ba75b4447f6ad817d06f81524045e.tar.gz
netsurf-f5f2ebb37a6ba75b4447f6ad817d06f81524045e.tar.bz2
Duktape: Prevent clang static analysis.
Diffstat (limited to 'content/handlers/javascript/duktape/duktape.c')
-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 6224aa2c6..5ba7bf9f9 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.3.0.
*
@@ -96661,3 +96663,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