Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c9a0bd0386c080d51a9825908ee7716c01126274
Ticket: 1286256fffffffffffffffffffffffffffffffff
compiler warnings
User & Date: andreas_kupries on 2005-09-10 02:12:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Ok, I fixed the second warning.
    
    The first warning is for
    
    --------------------
    return (res == TCL_OK) ? EOK : EINVAL;
        }
    
        Tcl_Panic ("Should not be reached");
        return EINVAL;
    }
    --------------------
    
    I.e. the panic cannot be reached under normal circumstances.
    I believe to remember that some compilers throw a warning if
    there is no code in this path, i.e. they are not able to
    detect that all paths returned before coming to this place.
    I may be wrong.
    
    Do we have a policy for this situation ?
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"