Polyspace Orange Check: Adding DRS for array
Afficher commentaires plus anciens
Hello guys,
I have this C++ code:
static char hw_type[4] = {'V','2',0, 0};
void myfunc()
{
hw_type[1]++;
}
This is how DRS is set, but it still show Overflow in Orange Check.

How to set the DRS value for array hw_type?
Thank you in advance
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Bug Finder Analysis in Polyspace Platform User Interface dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!