Polyspace Orange Check: Adding DRS for array
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Bug Finder Analysis in Polyspace Platform User Interface in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!