yellowman / nsh

OpenBSD networking configuration shell
http://www.nmedia.net/nsh/
Other
174 stars 27 forks source link

remove unused arguments of complete() function #126

Closed stspdotname closed 1 year ago

stspdotname commented 1 year ago

All callers were passing NULL for the final 'arg' argument which was hence always set to margv[0].

The 'ch' argument is unused and is only required for complt_i() and complt_c() which are our hooks into the editline library.