support zero length parameter list

Signed-off-by: nigel <nigel.cook@hp.com>