From c06d85d175e0983b2d3cf5aa944094b2bf978372 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Thu, 7 Apr 2022 09:20:52 -0700 Subject: [PATCH] proc.cpp: remove unused s_is_within_fish_initialization --- src/proc.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/proc.cpp b/src/proc.cpp index da9987ed5..296c76e4e 100644 --- a/src/proc.cpp +++ b/src/proc.cpp @@ -1017,9 +1017,3 @@ void tty_transfer_t::reclaim() { } tty_transfer_t::~tty_transfer_t() { assert(!this->owner_ && "Forgot to reclaim() the tty"); } - -static std::atomic s_is_within_fish_initialization{false}; - -void set_is_within_fish_initialization(bool flag) { s_is_within_fish_initialization.store(flag); } - -bool is_within_fish_initialization() { return s_is_within_fish_initialization.load(); }