From ba4c20a0c7213f2b5d0b8b9b7761e73138a7b133 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 3 Oct 2020 14:21:26 +0100 Subject: [PATCH] dukky: Fix assignment in assert Signed-off-by: Daniel Silverstone --- content/handlers/javascript/duktape/dukky.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/handlers/javascript/duktape/dukky.c b/content/handlers/javascript/duktape/dukky.c index 830f48108..52a9c82cf 100644 --- a/content/handlers/javascript/duktape/dukky.c +++ b/content/handlers/javascript/duktape/dukky.c @@ -785,7 +785,7 @@ static void dukky_destroythread(jsthread *thread) jsheap *heap = thread->heap; assert(thread->in_use == 0); - assert(thread->pending_destroy = true); + assert(thread->pending_destroy == true); /* Closing down the extant thread */ NSLOG(dukky, DEBUG, "Closing down extant thread %p in heap %p", thread, heap);