| 144 | } |
| 145 | |
| 146 | int SimpleCLI::countCmdQueue() const { |
| 147 | cmd* h = cmdQueue; |
| 148 | int i = 0; |
| 149 | |
| 150 | while (h) { |
| 151 | h = h->next; |
| 152 | ++i; |
| 153 | } |
| 154 | |
| 155 | return i; |
| 156 | } |
| 157 | |
| 158 | int SimpleCLI::countErrorQueue() const { |
| 159 | cmd_error* h = errorQueue; |
nothing calls this directly
no outgoing calls
no test coverage detected