From 81cdceddd33bf831d206f6cd167c6bae5ef81225 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 16 Feb 2016 01:46:12 -0800 Subject: Remove a debug() guarded by a surprising get_is_interactive get_is_interactive can crash if proc_init has not been called. Fixes #2280 --- src/env.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/env.cpp') 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")); - } } } -- cgit v1.2.3