mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Remove dead code
This commit is contained in:
parent
cc5db086bf
commit
131b8eaaea
2 changed files with 1 additions and 9 deletions
|
@ -39,7 +39,7 @@ AM_PROG_AR
|
|||
dnl ---------------------------------------------------------------------
|
||||
dnl Base CFLAGS
|
||||
dnl ---------------------------------------------------------------------
|
||||
AM_CFLAGS="-Wall -Wextra -Wparentheses -Winline -pedantic"
|
||||
AM_CFLAGS="-Wall -Wextra -Wparentheses -Winline -pedantic -Wunreachable-code"
|
||||
|
||||
dnl ---------------------------------------------------------------------
|
||||
dnl Enable source code coverage reporting for GCC
|
||||
|
|
|
@ -544,14 +544,6 @@ int config_sanity_check ( xcb_connection_t* xcb_connection )
|
|||
config.location = WL_CENTER;
|
||||
found_error = 1;
|
||||
}
|
||||
if ( 0 ) {
|
||||
if ( !( config.line_margin <= 50 ) ) {
|
||||
g_string_append_printf ( msg, "\t<b>config.line_margin</b>=%d is invalid. Value should be between %d and %d.\n",
|
||||
config.line_margin, 0, 50 );
|
||||
config.line_margin = 2;
|
||||
found_error = 1;
|
||||
}
|
||||
}
|
||||
if ( config.fullscreen && config.monitor != -1 ) {
|
||||
g_string_append_printf ( msg,
|
||||
"\t<b>config.monitor</b>=%d is invalid. Value should be unset (-1) when fullscreen mode is enabled.\n",
|
||||
|
|
Loading…
Reference in a new issue