[tor-commits] [tor/maint-0.3.1] Check arguments and initialise variables in compute_weighted_bandwidths()