diff options
author | rbuj <[email protected]> | 2021-10-22 14:28:49 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2021-12-31 14:48:42 +0100 |
commit | adb7473aa58143cfcba554e3d8d35943f850f362 (patch) | |
tree | 297e580499d7a883d4cacc61a29f1adde232e307 /capplets | |
parent | e4b0b64458cc32d08a47dbffebeb1fcec7087a95 (diff) | |
download | mate-control-center-adb7473aa58143cfcba554e3d8d35943f850f362.tar.bz2 mate-control-center-adb7473aa58143cfcba554e3d8d35943f850f362.tar.xz |
keybindings: redundant initialization for 'p'
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/keybindings/mate-keybinding-properties.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c index 44bdf9e3..b56dd0ac 100644 --- a/capplets/keybindings/mate-keybinding-properties.c +++ b/capplets/keybindings/mate-keybinding-properties.c @@ -861,7 +861,8 @@ static gboolean strv_contains (char **strv, char *str) { - char **p = strv; + char **p; + for (p = strv; *p; p++) if (strcmp (*p, str) == 0) return TRUE; |