| 269 | } |
| 270 | |
| 271 | struct variable_s *find_variable(const char *varname, |
| 272 | struct variable_s *list) |
| 273 | { |
| 274 | while (list) |
| 275 | { |
| 276 | if (strcmp(varname, list->var) == 0) |
| 277 | { |
| 278 | return list; |
| 279 | } |
| 280 | |
| 281 | list = list->flink; |
| 282 | } |
| 283 | |
| 284 | return NULL; |
| 285 | } |
no test coverage detected