summaryrefslogtreecommitdiff
path: root/sync.profile
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2020-05-02 16:05:22 -0700
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-20 14:09:45 +0200
commite73246b0e575a14bd88a84f67543b7e9b50960d5 (patch)
treec1b137a44cbd1a26619087bfa7440804e8d0bfeb /sync.profile
parentcd7b64a59450069815ded66dca5f407a20cbb6ed (diff)
downloadqtlocation-e73246b0e575a14bd88a84f67543b7e9b50960d5.tar.gz
Fix incorrect iteration over a C array
Found by Clang 10: error: expression does not compute the number of elements in this array; element type is 'const MapStyleData', not 'QGeoMapType::MapStyle' [- Werror,-Wsizeof-array-div] Instead, just use range-for. Task-number: QTBUG-83666 Change-Id: I99ab0f318b1c43b89888fffd160b589c5543b9d4 Coverity-Id: 226105 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 275efcc6c493e01fcbb623de4a277cffd584fa58)
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions