Minor async lint

@sueloverso, lint has a couple of minor complaints about the async_api.c code, for your consideration.