Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changeset 511

Show
Ignore:
Timestamp:
01/15/11 19:27:41 (14 years ago)
Author:
walter
Message:

remove catching Object

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/core/thread.d

    r508 r511  
    433433                } 
    434434                catch( Object o ) 
    435435                { 
    436436                    // TODO: Remove this once the compiler prevents it. 
    437437                } 
    438438                rt_moduleTlsDtor(); 
    439439            } 
    440440            catch( Throwable t ) 
    441441            { 
    442442                append( t ); 
    443             } 
    444             catch( Object o ) 
    445             { 
    446                 // TODO: Remove this once the compiler prevents it. 
    447443            } 
    448444 
    449445            // NOTE: Normal cleanup is handled by scope(exit). 
    450446             
    451447            static if( __traits( compiles, pthread_cleanup ) ) 
    452448            { 
    453449                cleanup.pop( 0 ); 
    454450            } 
    455451            else static if( __traits( compiles, pthread_cleanup_push ) ) 
    456452            {