Expand the scope of <struct linenoiseState saved> in completeLine()
[CPPCheck] Limit the scope of count in linenoise()