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 <tlsa@netsurf-browser.org>2017-04-16 16:58:35 +0100
commit8449b13a3aee95e1e0bc785e532ea2a9527d0168 (patch)
tree11ffdf3b11b06ef07210942f54cf15b75b88de51 /content/handlers/javascript/duktape/duktape.c
parentdb9b0dfe002be7368809b4017c871335073715b2 (diff)
downloadnetsurf-8449b13a3aee95e1e0bc785e532ea2a9527d0168.tar.gz
netsurf-8449b13a3aee95e1e0bc785e532ea2a9527d0168.tar.bz2
Duktape: Prevent clang static analysis.
Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.1.0 import.
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 7ca0f6534..8067b0fb7 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.1.0.
*
@@ -93236,3 +93238,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