Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reduce scope for variables used for dynamic_cast to subclass.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 6 May 2022 08:17:57 +0000 (10:17 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 6 May 2022 08:17:57 +0000 (10:17 +0200)
commit4c61dcfc019a2103bbe53785ee778e3831bcf4a6
treec0968b80cd70eaf2af66f7915ca1b1251d1d5bf8
parentaf3b64b82b7bf86f53f5cbe2ec042e1b40022c82
Reduce scope for variables used for dynamic_cast to subclass.

Use the init-statement to declare variables inside the if statement (sonar).
examples/cpp/dag-from-dax/s4u-dag-from-dax.cpp
examples/cpp/dag-from-dot/s4u-dag-from-dot.cpp