From 336326af3aab93f31474fa6de28782457ae4a1c0 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 1 Nov 2015 11:53:48 +0100 Subject: [PATCH] Try and prevent duktape from taking part in clang analysis --- javascript/duktape/duktape.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/javascript/duktape/duktape.c b/javascript/duktape/duktape.c index 7e85afa9e..530a27aea 100644 --- a/javascript/duktape/duktape.c +++ b/javascript/duktape/duktape.c @@ -1,3 +1,5 @@ +// Omit from static analysis. +#ifndef __clang_analyzer__ /* * Single source autogenerated distributable for Duktape 1.3.99. @@ -86470,3 +86472,4 @@ DUK_INTERNAL duk_double_t duk_util_tinyrandom_get_double(duk_hthread *thr) { return t; } +#endif