aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-16 01:46:12 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-16 01:51:27 -0800
commit81cdceddd33bf831d206f6cd167c6bae5ef81225 (patch)
tree526b1a877630b6081d6563502724f5019aaa89e9 /src/env.cpp
parent5b506499c1abafddeba13cb2edd37611a47f2379 (diff)
Remove a debug() guarded by a surprising get_is_interactive
get_is_interactive can crash if proc_init has not been called. Fixes #2280
Diffstat (limited to 'src/env.cpp')
-rw-r--r--src/env.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/env.cpp b/src/env.cpp
index 527ed253..d951036a 100644
--- a/src/env.cpp
+++ b/src/env.cpp
@@ -294,11 +294,6 @@ static void handle_locale()
_nl_msg_cat_cntr++;
fish_dcgettext("fish", "Changing language to English", LC_MESSAGES);
-
- if (get_is_interactive())
- {
- debug(2, _(L"Changing language to English"));
- }
}
}