summaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-01 13:55:08 +0100
committerMax Kellermann <max@musicpd.org>2020-02-01 14:02:43 +0100
commit72ec641f0d5a33de882a05a53e2f3a3b74226eb3 (patch)
treed52d290cab7f7cbec7e67ebb0f7998962cdae534 /src/command
parent4f22f4d357c99ba4163a496882f813138db3c39b (diff)
*: use `auto`
Diffstat (limited to 'src/command')
-rw-r--r--src/command/StickerCommands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/StickerCommands.cxx b/src/command/StickerCommands.cxx
index 95a1e702b..0f2b4a71e 100644
--- a/src/command/StickerCommands.cxx
+++ b/src/command/StickerCommands.cxx
@@ -42,7 +42,7 @@ static void
sticker_song_find_print_cb(const LightSong &song, const char *value,
void *user_data)
{
- struct sticker_song_find_data *data =
+ auto *data =
(struct sticker_song_find_data *)user_data;
song_print_uri(data->r, song);