Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Q qt-creator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tobias Hunger
  • qt-creator
  • Repository
Switch branch/tag
  • qt-creator
  • src
  • libs
  • qmljs
  • qmljstypedescriptionreader.cpp
Find file BlameHistoryPermalink
  • Erik Verbruggen's avatar
    QML/JS: fix improbable nullptr deref in possible future use. · 5d0eb9bd
    Erik Verbruggen authored Sep 10, 2014
    
    
    The ast parameter cannot be null, because the only use checks for it not
    to be null. However, if it would ever be re-used somewhere else, the
    logic is plain wrong. Clarification by an assert makes it clear what the
    intent is.
    
    Pointed out by the clang static analyzer.
    
    Change-Id: I2c8cba5e5847fc1f92c10021109c55ff8ccd58c4
    Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
    5d0eb9bd