| 156 | } |
| 157 | |
| 158 | int SimpleCLI::countErrorQueue() const { |
| 159 | cmd_error* h = errorQueue; |
| 160 | int i = 0; |
| 161 | |
| 162 | while (h) { |
| 163 | h = h->next; |
| 164 | ++i; |
| 165 | } |
| 166 | |
| 167 | return i; |
| 168 | } |
| 169 | |
| 170 | Command SimpleCLI::getCmd() { |
| 171 | if (!cmdQueue) return Command(); |
nothing calls this directly
no outgoing calls
no test coverage detected