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