From 6a88bbb4ccdbe6e28911b323d4e4123eb4c91c77 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Tue, 18 Jan 2022 09:59:13 +0100 Subject: [PATCH] Remove old and unused config option weechat.plugin.debug As far as I can see, this option is not used anywhere and should have been removed in commit 6e69f7f3c. --- src/core/wee-config.c | 8 -------- src/core/wee-config.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 80552a507..8edfdb216 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -299,7 +299,6 @@ struct t_config_option *config_network_proxy_curl; /* config, plugin section */ struct t_config_option *config_plugin_autoload; -struct t_config_option *config_plugin_debug; struct t_config_option *config_plugin_extension; struct t_config_option *config_plugin_path; struct t_config_option *config_plugin_save_config_on_unload; @@ -4561,13 +4560,6 @@ config_weechat_init_options () "\"*,!lua,!tcl\")"), NULL, 0, 0, "*", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); - config_plugin_debug = config_file_new_option ( - weechat_config_file, ptr_section, - "debug", "boolean", - N_("enable debug messages by default in all plugins (option disabled " - "by default, which is highly recommended)"), - NULL, 0, 0, "off", NULL, 0, - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); config_plugin_extension = config_file_new_option ( weechat_config_file, ptr_section, "extension", "string", diff --git a/src/core/wee-config.h b/src/core/wee-config.h index afdd9bf71..5cae8d136 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -342,7 +342,6 @@ extern struct t_config_option *config_network_gnutls_handshake_timeout; extern struct t_config_option *config_network_proxy_curl; extern struct t_config_option *config_plugin_autoload; -extern struct t_config_option *config_plugin_debug; extern struct t_config_option *config_plugin_extension; extern struct t_config_option *config_plugin_path; extern struct t_config_option *config_plugin_save_config_on_unload;