aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-03 11:58:27 +0100
committerMax Kellermann <max@duempel.org>2013-12-03 11:58:27 +0100
commitba61a928971f248620a71663ab8d5a42dc31cc90 (patch)
tree0e4a8f7b84e96c5217b848b088fc24fdc5866113 /src
parent68fc3704e9b3916682c46a6d7e334984d00f538d (diff)
downloadmpd-ba61a928971f248620a71663ab8d5a42dc31cc90.tar.gz
mpd-ba61a928971f248620a71663ab8d5a42dc31cc90.tar.xz
mpd-ba61a928971f248620a71663ab8d5a42dc31cc90.zip
CueParser: rename local variables "current_tag" to "tag"
Diffstat (limited to 'src')
-rw-r--r--src/cue/CueParser.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cue/CueParser.cxx b/src/cue/CueParser.cxx
index 43c6efa80..29c264cb5 100644
--- a/src/cue/CueParser.cxx
+++ b/src/cue/CueParser.cxx
@@ -188,9 +188,9 @@ CueParser::Feed2(char *p)
return;
if (strcmp(command, "REM") == 0) {
- Tag *current_tag = GetCurrentTag();
- if (current_tag != nullptr)
- cue_parse_rem(p, *current_tag);
+ Tag *tag = GetCurrentTag();
+ if (tag != nullptr)
+ cue_parse_rem(p, *tag);
} else if (strcmp(command, "PERFORMER") == 0) {
/* MPD knows a "performer" tag, but it is not a good
match for this CUE tag; from the Hydrogenaudio
@@ -202,9 +202,9 @@ CueParser::Feed2(char *p)
? TAG_ARTIST
: TAG_ALBUM_ARTIST;
- Tag *current_tag = GetCurrentTag();
- if (current_tag != nullptr)
- cue_add_tag(*current_tag, type, p);
+ Tag *tag = GetCurrentTag();
+ if (tag != nullptr)
+ cue_add_tag(*tag, type, p);
} else if (strcmp(command, "TITLE") == 0) {
if (state == HEADER)
cue_add_tag(*header_tag, TAG_ALBUM, p);