| 74 | |
| 75 | |
| 76 | void uriPushToStack(UriIp4Parser * parser, unsigned char digit) { |
| 77 | switch (parser->stackCount) { |
| 78 | case 0: |
| 79 | parser->stackOne = digit; |
| 80 | parser->stackCount = 1; |
| 81 | break; |
| 82 | |
| 83 | case 1: |
| 84 | parser->stackTwo = digit; |
| 85 | parser->stackCount = 2; |
| 86 | break; |
| 87 | |
| 88 | case 2: |
| 89 | parser->stackThree = digit; |
| 90 | parser->stackCount = 3; |
| 91 | break; |
| 92 | |
| 93 | default: |
| 94 | ; |
| 95 | } |
| 96 | } |
no outgoing calls
no test coverage detected