From 15b2b961526cd87cb53b2c86319a42e85e21ddef Mon Sep 17 00:00:00 2001 From: Paul Bone Date: Thu, 19 Oct 2023 06:38:42 +0000 Subject: [PATCH] Bug 1854550 - pt 10. Allow LOG() with zero extra arguments r=glandium Differential Revision: https://phabricator.services.mozilla.com/D191134 --- memory/build/PHC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory/build/PHC.cpp b/memory/build/PHC.cpp index b507046650cc..be4985023d20 100644 --- a/memory/build/PHC.cpp +++ b/memory/build/PHC.cpp @@ -266,7 +266,7 @@ static size_t GetTid() { # endif # define LOG(fmt, ...) \ FdPrintf(LOG_STDERR, "PHC[%zu,%zu,~%zu] " fmt, GetPid(), GetTid(), \ - size_t(GAtomic::Now()), __VA_ARGS__) + size_t(GAtomic::Now()), ##__VA_ARGS__) #else