[X2Go-Commits] [pale-moon] 228/294: Remove Parser::reportWithOffset since it's no longer used.

git-admin at x2go.org git-admin at x2go.org
Sat Apr 27 08:58:20 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.

commit 51e2758e02a6187228e35f58bfa0e1752870476b
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date:   Sat Apr 6 10:34:17 2019 +0200

    Remove Parser::reportWithOffset since it's no longer used.
---
 js/src/frontend/Parser.cpp | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/js/src/frontend/Parser.cpp b/js/src/frontend/Parser.cpp
index 43f39dc..9f91699 100644
--- a/js/src/frontend/Parser.cpp
+++ b/js/src/frontend/Parser.cpp
@@ -701,18 +701,6 @@ Parser<ParseHandler>::reportNoOffset(ParseReportKind kind, bool strict, unsigned
     return result;
 }
 
-template <typename ParseHandler>
-bool
-Parser<ParseHandler>::reportWithOffset(ParseReportKind kind, bool strict, uint32_t offset,
-                                       unsigned errorNumber, ...)
-{
-    va_list args;
-    va_start(args, errorNumber);
-    bool result = reportHelper(kind, strict, offset, errorNumber, args);
-    va_end(args);
-    return result;
-}
-
 template <>
 bool
 Parser<FullParseHandler>::abortIfSyntaxParser()

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git


More information about the x2go-commits mailing list