diff options
author | John Ericson <git@JohnEricson.me> | 2019-11-10 11:14:26 -0500 |
---|---|---|
committer | John Ericson <git@JohnEricson.me> | 2019-11-10 11:24:47 -0500 |
commit | 96e6e680c1a298613756571e4984c340ce887c2a (patch) | |
tree | 53e33aa356c6a8766c460f2fe9b74b30891e5577 /src/libexpr | |
parent | 70cab0587dcbc2d0600c07c96b477a2ea2fcd6f3 (diff) |
Fix extra ; warnings involving MakeError
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/json-to-value.hh | 2 | ||||
-rw-r--r-- | src/libexpr/nixexpr.hh | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/libexpr/json-to-value.hh b/src/libexpr/json-to-value.hh index 33f35b16c..3b0fdae11 100644 --- a/src/libexpr/json-to-value.hh +++ b/src/libexpr/json-to-value.hh @@ -6,7 +6,7 @@ namespace nix { -MakeError(JSONParseError, EvalError) +MakeError(JSONParseError, EvalError); void parseJSON(EvalState & state, const string & s, Value & v); diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index 665a42987..f7e9105a4 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -9,14 +9,14 @@ namespace nix { -MakeError(EvalError, Error) -MakeError(ParseError, Error) -MakeError(AssertionError, EvalError) -MakeError(ThrownError, AssertionError) -MakeError(Abort, EvalError) -MakeError(TypeError, EvalError) -MakeError(UndefinedVarError, Error) -MakeError(RestrictedPathError, Error) +MakeError(EvalError, Error); +MakeError(ParseError, Error); +MakeError(AssertionError, EvalError); +MakeError(ThrownError, AssertionError); +MakeError(Abort, EvalError); +MakeError(TypeError, EvalError); +MakeError(UndefinedVarError, Error); +MakeError(RestrictedPathError, Error); /* Position objects. */ |