summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape
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>2022-05-29 13:41:14 +0100
commitc90fb03e58251b8798f1dfd0caaaf6ef6d4c9ff9 (patch)
treef92be09e4e09f5aa4b1c5ae7dbca53f2b3b35ee3 /content/handlers/javascript/duktape
parent4e3d9127bf5a4e74da9edf1bbe7c25325339e326 (diff)
downloadnetsurf-c90fb03e58251b8798f1dfd0caaaf6ef6d4c9ff9.tar.gz
netsurf-c90fb03e58251b8798f1dfd0caaaf6ef6d4c9ff9.tar.bz2
Duktape: Prevent clang static analysis.
Diffstat (limited to 'content/handlers/javascript/duktape')
-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 1a27b650a..18b2e99f9 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.7.0.
*
@@ -101204,3 +101206,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