diff --git a/src/add-ons/kernel/file_systems/bfs/BPlusTree.cpp b/src/add-ons/kernel/file_systems/bfs/BPlusTree.cpp index b5ef6c6a0d..33efc3fbc0 100644 --- a/src/add-ons/kernel/file_systems/bfs/BPlusTree.cpp +++ b/src/add-ons/kernel/file_systems/bfs/BPlusTree.cpp @@ -3089,7 +3089,7 @@ duplicate_array::Insert(off_t value) // binary search, if not, just iterate linearly to find // the insertion point int32 size = Count(); - int32 i; + int32 i = 0; if (size > 8 ) { if (!_FindInternal(value, i) && ValueAt(i) <= value) i++;