Skip to content

Commit 8ffdc2b

Browse files
committed
Fix a compiler warning about misleading indentation
1 parent f6deaff commit 8ffdc2b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/utils.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,15 @@ int RS_DBI_newEntry(int *table, int length) {
129129
int i, indx, empty_val;
130130

131131
indx = empty_val = (int) -1;
132-
for(i = 0; i < length; i++)
132+
for(i = 0; i < length; i++){
133133
if(table[i] == empty_val){
134134
indx = i;
135135
break;
136136
}
137-
return indx;
137+
}
138+
return indx;
138139
}
140+
139141
int RS_DBI_lookup(int *table, int length, int obj_id) {
140142
int i, indx;
141143

0 commit comments

Comments
 (0)