If `*total_str` can never be null, then this is unnecessary. Was the previous version a bug?