[CRD iOS] Fix warnings from clang static analyzer
This CL fixes a few warnings reported by the clang static analyzer: * Remove the unnecessary `next_frame += bytes_to_copy` line from AudioPlayerBuffer. * Call dictionaryWithDictionary with empty dictionary if data is nil. * Add [super viewDidLoad] calls to view controllers. Note that none of them causes actual problem in the official app. Bug: 791222 Change-Id: Icaaf8a43481eb68950dbf6c25c9d7789237aed5e Reviewed-on: https://chromium-review.googlesource.com/809928 Commit-Queue: Yuwei Huang <yuweih@chromium.org> Reviewed-by:Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#522216}
Showing
Please register or sign in to comment