/ Delete a value corresponding to the given key. */ /
| 1218 | /* Delete a value corresponding to the given key. */ |
| 1219 | /***********************************************************************/ |
| 1220 | void JOBJECT::DeleteKey(PCSZ key) |
| 1221 | { |
| 1222 | PJPR jp, *pjp = &First; |
| 1223 | |
| 1224 | for (jp = First; jp; jp = jp->Next) |
| 1225 | if (!strcmp(jp->Key, key)) { |
| 1226 | *pjp = jp->Next; |
| 1227 | break; |
| 1228 | } else |
| 1229 | pjp = &jp->Next; |
| 1230 | |
| 1231 | } // end of DeleteKey |
| 1232 | |
| 1233 | /***********************************************************************/ |
| 1234 | /* True if void or if all members are nulls. */ |
no outgoing calls
no test coverage detected