Coverity Check: codegenerators: Fixing unchecked dynamic_casts

Review Request #124658 - Created Aug. 8, 2015 and submitted

Information
Patrick Eigensatz
umbrello
frameworks
340646
Reviewers
umbrello

This fixes Coverity check CIDs: 71404, 71405, 71409, 71415, 71430,
71432, 71434, 71435, 71438, 71439, 71446, 71453, 71456, 71457,
71458, 71460

Coverity reported lots of errors (> 50) of the same type:

T *var = dynamic_cast<T>(a);
foo(var);

var was never checked against NULL.

CCBUG:340646
REVIEW:124658

  • Compiles!

Issues

  • 0
  • 11
  • 0
  • 11
Description From Last Updated
Ralf Habacker
Patrick Eigensatz
Ralf Habacker
Ralf Habacker
Patrick Eigensatz
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 335a582b4878ecb88ba2c97d8f76546ea5822593 by Ralf Habacker on behalf of Patrick Eigensatz to branch Applications/15.08.
Loading...