summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape/duktape.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-08-31 18:52:07 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2016-08-31 18:58:13 +0100
commit91d621521580a783b24194a341978dad67b9d6e5 (patch)
tree6fae35128f704b946d9e1c69e3ca469e0492e53b /content/handlers/javascript/duktape/duktape.c
parenta64f8eb8a02d6b8816aa5a1d159405bf7aaa1e7e (diff)
downloadnetsurf-91d621521580a783b24194a341978dad67b9d6e5.tar.gz
netsurf-91d621521580a783b24194a341978dad67b9d6e5.tar.bz2
Duktape: Prevent clang static analysis.
Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.5.1 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 54da011be..e1867c0ba 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 1.5.1.
*
@@ -86564,3 +86566,4 @@ DUK_INTERNAL duk_double_t duk_util_tinyrandom_get_double(duk_hthread *thr) {
return t;
}
+#endif