• Yuwei Huang's avatar
    [CRD iOS] Fix warnings from clang static analyzer · d01d9fb6
    Yuwei Huang authored
    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: default avatarJamie Walch <jamiewalch@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#522216}
    d01d9fb6
app_view_controller_chromium.mm 1.83 KB