mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
wrong value was returned
This commit is contained in:
parent
ff4f5d878a
commit
11b1607681
1 changed files with 2 additions and 1 deletions
|
@ -254,9 +254,10 @@ public class MemoryBlock extends CObject implements ICDIMemoryBlock {
|
|||
if (badOffsets != null) {
|
||||
for (int i = 0; i < badOffsets.length; ++i) {
|
||||
if (badOffsets[i] == offset) {
|
||||
return VALID;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return VALID;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue