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>2019-08-02 14:19:13 +0100
commitf320725307e26f8fde4e9d3dc7a436c2f557154f (patch)
tree65a1069967f97422023b4214c9a1a65eb442e80f /content/handlers/javascript/duktape/duktape.c
parentb4bbca89cd5a3f182cf3e18afaa2e222724fde9f (diff)
downloadnetsurf-f320725307e26f8fde4e9d3dc7a436c2f557154f.tar.gz
netsurf-f320725307e26f8fde4e9d3dc7a436c2f557154f.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 dc3d33359..a83da2f01 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.4.0.
*
@@ -97586,3 +97588,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