aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-13 16:19:37 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-13 16:25:48 +0200
commitc0dd05131e08102d560a737ff68c66bc8314f5fa (patch)
tree86f137650a719196ca3272fa8e34ecf80105a0bb /src/libstore/path.cc
parent143a5f32ed2ce37ce6edddf36ed7ed984532541f (diff)
toStorePath(): Return a StorePath and the suffix
Diffstat (limited to 'src/libstore/path.cc')
-rw-r--r--src/libstore/path.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstore/path.cc b/src/libstore/path.cc
index b3d8ce95c..dc9dc3897 100644
--- a/src/libstore/path.cc
+++ b/src/libstore/path.cc
@@ -2,8 +2,6 @@
namespace nix {
-MakeError(BadStorePath, Error);
-
static void checkName(std::string_view path, std::string_view name)
{
if (name.empty())