Revert "Fix two "ignoring asprintf result" warnings"