From 208923b64563a29b7bd41bb3c57f5644d6de3b04 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 25 Feb 2018 14:11:36 -0800 Subject: [PATCH] Bug 1441038: Don't ignore return value of js_DumpCallgrind. r=jorendorff MozReview-Commit-ID: 5aNmRAhDoZB --HG-- extra : rebase_source : 585dc8830eaf49900f130efbc8ad28778b30cc20 --- js/src/builtin/Profilers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/builtin/Profilers.cpp b/js/src/builtin/Profilers.cpp index c7bdbbecad0b..33146973ea65 100644 --- a/js/src/builtin/Profilers.cpp +++ b/js/src/builtin/Profilers.cpp @@ -180,7 +180,7 @@ JS_DumpProfile(const char* outfile, const char* profileName) { bool ok = true; #ifdef MOZ_CALLGRIND - js_DumpCallgrind(outfile); + ok = js_DumpCallgrind(outfile); #endif return ok; }