Initialize bins for a new mstate that is otherwise zeroed out */
| 3284 | |
| 3285 | /* Initialize bins for a new mstate that is otherwise zeroed out */ |
| 3286 | static void init_bins(mstate m) { |
| 3287 | /* Establish circular links for smallbins */ |
| 3288 | bindex_t i; |
| 3289 | for (i = 0; i < NSMALLBINS; ++i) { |
| 3290 | sbinptr bin = smallbin_at(m,i); |
| 3291 | bin->fd = bin->bk = bin; |
| 3292 | } |
| 3293 | } |
| 3294 | |
| 3295 | #if PROCEED_ON_ERROR |
| 3296 |
no outgoing calls
no test coverage detected