I am getting the error in my coverity.
Suspicious integer expression (FB.INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE)
- defect: Bad comparison of nonnegative value with 0.
Code where the issue raised
int [][] intarray = DB Call;
int noofRecord = intarray[0].length;
if(noofRecord < 0) {
//some stuf
}
How can I resolve the above error.