convert.c: remove unused parameter 'path'