From 4b22b42cd97e269118e6d4f6e0f4442f098a843f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 7 Jan 2014 17:47:20 +0000 Subject: [PATCH] gui: Rename label of check_key_map_args() The old name is misleading since the code starting at this label will be executed unconditionally. --- gui.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gui.c b/gui.c index 7507eea4..e41977ef 100644 --- a/gui.c +++ b/gui.c @@ -887,25 +887,25 @@ static int check_key_map_args(void) for (i = 0; i < conf.key_map_given; ++i) { s = conf.key_map_arg[i]; if (!(*s)) - goto err_out; + goto out; free(tmp); tmp = para_strdup(s); if (!split_key_map(tmp, &handler, &arg)) - goto err_out; + goto out; if (strlen(handler) != 1) - goto err_out; + goto out; if (*handler != 'x' && *handler != 'd' && *handler != 'i' && *handler != 'p') - goto err_out; + goto out; if (*handler != 'i') continue; if (find_cmd_byname(arg) < 0) - goto err_out; + goto out; } ret = 0; -err_out: +out: free(tmp); return ret; } -- 2.39.2