count the unidentified items */
| 2695 | } |
| 2696 | /* count the unidentified items */ |
| 2697 | int |
| 2698 | count_unidentified(struct obj *objchn) |
| 2699 | { |
| 2700 | int unid_cnt = 0; |
| 2701 | struct obj *obj; |
| 2702 | |
| 2703 | for (obj = objchn; obj; obj = obj->nobj) |
| 2704 | if (not_fully_identified(obj)) |
| 2705 | ++unid_cnt; |
| 2706 | return unid_cnt; |
| 2707 | } |
| 2708 | |
| 2709 | /* dialog with user to identify a given number of items; 0 means all */ |
| 2710 | void |
no test coverage detected