From a3124756cccb15702f627050dd7bbdb2fde1b5ff Mon Sep 17 00:00:00 2001 From: ayin Date: Wed, 12 Dec 2007 09:33:48 +0000 Subject: [PATCH] Change init_vars return type to void, it always returns true. --- src/init.C | 4 +--- src/main.C | 3 +-- src/rxvt.h | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/init.C b/src/init.C index 39e2bd4c..ac218755 100644 --- a/src/init.C +++ b/src/init.C @@ -282,7 +282,7 @@ const char *const def_colorName[] = #endif }; -bool +void rxvt_term::init_vars () { pix_colors = // @@ -318,8 +318,6 @@ rxvt_term::init_vars () set_option (Opt_pastableTabs); set_option (Opt_intensityStyles); set_option (Opt_iso14755_52); - - return true; } void diff --git a/src/main.C b/src/main.C index e7144626..d408d71a 100644 --- a/src/main.C +++ b/src/main.C @@ -484,8 +484,7 @@ rxvt_term::init (int argc, const char *const *argv, stringvec *envv) set_locale (""); set_environ (envv); // few things in X do not call setlocale :( - if (!init_vars ()) - return false; + init_vars (); init_secondary (); diff --git a/src/rxvt.h b/src/rxvt.h index c9d04bf3..2a7f2dc0 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -1173,7 +1173,7 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen { void process_sgr_mode (unsigned int nargs, const int *arg); void process_graphics (); // init.C - bool init_vars (); + void init_vars (); void init_secondary (); const char **init_resources (int argc, const char *const *argv); void init_env (); -- 2.34.1