Revision 1445
Bug fix with new BOM code
bom.c | ||
---|---|---|
238 | 238 |
**/ |
239 | 239 |
int bom_get_max10(int *dist) { |
240 | 240 |
int i, max; |
241 |
long long mean, sum;
|
|
241 |
long long mean = 0, sum = 0;
|
|
242 | 242 |
|
243 | 243 |
max = bom_get_max(); |
244 | 244 |
if (max < 0) |
Also available in: Unified diff