summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobjectbuilder.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-09-17 10:56:52 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-10-08 08:26:37 +0000
commit2fda30053dcf13356d72f9a8116413d26bcb14a1 (patch)
treeb03d3ce25a311baaef7fbf3a27ebd323162446cb /src/corelib/kernel/qmetaobjectbuilder.cpp
parent724a3cab887e4dcc455389e929ac2b97ebedb94a (diff)
qxmlstreamparser_p.h: fix -Wshadow in parse()
The name `prefix` is also used for a data member, and the very next rule actually assigns to it, so using the same name in this huge switch is actually impairing readability. Fix by abbreviating the local variable. This code predates the start of the public history. Pick-to: 6.8 6.7 6.5 6.2 5.15 Task-number: QTBUG-126219 Change-Id: Iece828a9303b5449397ac93e51f540bf890f7d08 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Lena Biliaieva <lena.biliaieva@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions