Module: wine Branch: master Commit: bfa85536a34e99c4d77bfce67301132e41874d0d URL: https://gitlab.winehq.org/wine/wine/-/commit/bfa85536a34e99c4d77bfce67301132...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Mon Jul 15 16:09:50 2024 +0300
jscript: Make JS_COUNT_OPERATION a no-op.
It's not an error, and this just pollutes the logs for no reason.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com
---
dlls/jscript/regexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c index 325b5ad56d6..a29b4bb90e1 100644 --- a/dlls/jscript/regexp.c +++ b/dlls/jscript/regexp.c @@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(jscript); #define ReportRegExpErrorHelper(a,b,c,d) throw_error((a)->context, E_FAIL, L"") #define JS_ReportErrorNumber(a,b,c,d) throw_error((a), E_FAIL, L"") #define JS_ReportErrorFlagsAndNumber(a,b,c,d,e,f) throw_error((a), E_FAIL, L"") -#define JS_COUNT_OPERATION(a,b) throw_error((a), E_FAIL, L"") +#define JS_COUNT_OPERATION(a,b) do { } while(0)
typedef BYTE JSPackedBool;