yellowman / nsh

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

remove lastc_argc and lastc_argo variable from complete() #125

Closed stspdotname closed 1 year ago

stspdotname commented 1 year ago

These variables are set to cursor_argc and cursor_argo respectively. They are then only used in a comparison which checks whether they are still equal to the values which were just assigned to them. As such, these lines of code can be removed without changing any functionality.