diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-05-10 00:01:35 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-18 17:11:12 -0700 |
commit | b7b4515d4883f7da1fdcfb4d5aff7a2f3118ae86 (patch) | |
tree | 0d0cee369d74946c0b8f562fc080a71655111c91 /ios/benchmark | |
parent | 63ea3d4befe7f2a8958cf3496d31d2a71561801b (diff) | |
download | qtlocation-mapboxgl-b7b4515d4883f7da1fdcfb4d5aff7a2f3118ae86.tar.gz |
Marked unused parameters with __unused
Replaced haphazard usage of pragmas and `(void)` expressions with the `__unused` keyword.
Diffstat (limited to 'ios/benchmark')
-rw-r--r-- | ios/benchmark/MBXBenchViewController.mm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ios/benchmark/MBXBenchViewController.mm b/ios/benchmark/MBXBenchViewController.mm index 6e1c6d325c..dfd3b254a3 100644 --- a/ios/benchmark/MBXBenchViewController.mm +++ b/ios/benchmark/MBXBenchViewController.mm @@ -88,11 +88,8 @@ static const int benchmarkDuration = 200; // frames } } -- (void)mapViewDidFinishRenderingMap:(MGLMapView *)mapView fullyRendered:(BOOL)fullyRendered +- (void)mapViewDidFinishRenderingMap:(MGLMapView *)mapView fullyRendered:(__unused BOOL)fullyRendered { - (void)mapView; - (void)fullyRendered; - if (state == State::Benchmarking) { frames++; |