summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-22 14:28:49 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2021-12-31 14:48:42 +0100
commitadb7473aa58143cfcba554e3d8d35943f850f362 (patch)
tree297e580499d7a883d4cacc61a29f1adde232e307
parente4b0b64458cc32d08a47dbffebeb1fcec7087a95 (diff)
downloadmate-control-center-adb7473aa58143cfcba554e3d8d35943f850f362.tar.bz2
mate-control-center-adb7473aa58143cfcba554e3d8d35943f850f362.tar.xz
keybindings: redundant initialization for 'p'
-rw-r--r--capplets/keybindings/mate-keybinding-properties.c3
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;