summaryrefslogtreecommitdiff
path: root/src/fe-text/statusbar-config.c
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-20 18:11:12 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-20 18:13:26 +0100
commit138eca0749dd05a4a16df9e43d87af2143b224f2 (patch)
treeb56b603c73229c882613cc016690c1a4b29c089d /src/fe-text/statusbar-config.c
parentee04cd503ff70a1aed79cdb2c9f787c98b075182 (diff)
downloadirssi-138eca0749dd05a4a16df9e43d87af2143b224f2.zip
fix build
Diffstat (limited to 'src/fe-text/statusbar-config.c')
-rw-r--r--src/fe-text/statusbar-config.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fe-text/statusbar-config.c b/src/fe-text/statusbar-config.c
index 7b5b6884..314befaa 100644
--- a/src/fe-text/statusbar-config.c
+++ b/src/fe-text/statusbar-config.c
@@ -101,7 +101,7 @@ statusbar_config_find(STATUSBAR_GROUP_REC *group, const char *name)
return config;
}
- return NULL;
+ return NULL;
}
static void statusbar_reset_defaults(void)
@@ -542,7 +542,7 @@ static CONFIG_NODE *config_sbar_items_section(CONFIG_REC *config, CONFIG_NODE *p
static CONFIG_NODE *statusbar_copy_config(CONFIG_REC *config, CONFIG_NODE *source,
CONFIG_NODE *parent)
{
- GSList *tmp;
+ GSList *tmp;
g_return_val_if_fail(parent != NULL, NULL);
@@ -671,7 +671,6 @@ static void cmd_statusbar_additem_modifyitem(const char *data, void *server, voi
/* SYNTAX: STATUSBAR REMOVEITEM <item> <statusbar> */
static void cmd_statusbar_removeitem(const char *data, void *server, void *witem)
{
- CONFIG_REC *config, *close_config;
CONFIG_NODE *node;
char *item, *statusbar;
void *free_arg;