summary refs log tree commit diff
path: root/nix/libstore/store-api.cc
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2022-09-10 19:20:38 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-09-11 16:43:30 +0200
commit1c5f5d6d8cb3bd42ed436e31366a328598165734 (patch)
tree858f766c0601164d2fa2f6c185cf83f90d175f92 /nix/libstore/store-api.cc
parent6519b1d59cf4bad2a92a14d3c87bef23e6e3b872 (diff)
downloadguix-1c5f5d6d8cb3bd42ed436e31366a328598165734.tar.gz
daemon: Remove unused function openStore.
* nix/libstore/store-api.cc (openStore): Remove it.
* nix/libstore/store-api.hh (openStore): Likewise.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'nix/libstore/store-api.cc')
-rw-r--r--nix/libstore/store-api.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/nix/libstore/store-api.cc b/nix/libstore/store-api.cc
index 0de0b6b298..e3a8ac0995 100644
--- a/nix/libstore/store-api.cc
+++ b/nix/libstore/store-api.cc
@@ -277,10 +277,4 @@ namespace nix {
 std::shared_ptr<StoreAPI> store;
 
 
-std::shared_ptr<StoreAPI> openStore(bool reserveSpace)
-{
-    return std::shared_ptr<StoreAPI>(new LocalStore(reserveSpace));
-}
-
-
 }