Minor code cleanup in taInvoke.cpp

Signed-off-by: Mark Tompkins <mtompkins@openAlgo.org>