From a5e0f64db3f7355e320ecda478b84f238bf8869c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Oct 2013 12:30:23 +0000 Subject: [PATCH] Remove some unused functions --- src/libexpr/eval.cc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index d7cab2bf7..02f99feb3 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -248,21 +248,11 @@ LocalNoInlineNoReturn(void throwTypeError(const char * s)) throw TypeError(s); } -LocalNoInlineNoReturn(void throwTypeError(const char * s, const Pos & pos, const string & s2)) -{ - throw TypeError(format(s) % pos % s2); -} - LocalNoInlineNoReturn(void throwTypeError(const char * s, const string & s1, const string & s2)) { throw TypeError(format(s) % s1 % s2); } -LocalNoInlineNoReturn(void throwTypeError(const char * s, const Pos & pos)) -{ - throw TypeError(format(s) % pos); -} - LocalNoInlineNoReturn(void throwAssertionError(const char * s, const Pos & pos)) { throw AssertionError(format(s) % pos); @@ -273,11 +263,6 @@ LocalNoInline(void addErrorPrefix(Error & e, const char * s, const string & s2)) e.addPrefix(format(s) % s2); } -LocalNoInline(void addErrorPrefix(Error & e, const char * s, const Pos & pos)) -{ - e.addPrefix(format(s) % pos); -} - LocalNoInline(void addErrorPrefix(Error & e, const char * s, const string & s2, const Pos & pos)) { e.addPrefix(format(s) % s2 % pos);