[sr-dev] git:master:d315eb26: nats: declare variable at beginning of function