------------------------------------------------------------- Description: Unregisters a variable with the given name in this store or in the first parent that has it. Arguments: name - Name of the variable to unregister. -------------------------------------------------------------
| 244 | // name - Name of the variable to unregister. |
| 245 | // ------------------------------------------------------------- |
| 246 | void Tr2VariableStore::UnregisterVariable( const char* name ) |
| 247 | { |
| 248 | Tr2VariableStore* store = this; |
| 249 | while( store ) |
| 250 | { |
| 251 | if( store->UnregisterLocalVariable( name ) ) |
| 252 | { |
| 253 | return; |
| 254 | } |
| 255 | store = store->GetParentVariableStore(); |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | // ------------------------------------------------------------- |
| 260 | // Description: |
no test coverage detected