adequate treatment to the settlement between the parties and exercising its power under Section 482 of the Code while accepting the settlement and quashing the proceedings or refusing to accept the settlement with direction to continue with the criminal proceedings: 29.1. Power conferred under Section 482 of the Code is to be distinguished from the power which lies in the Court to compound the offences under Section 320 of the Code. No doubt, under Section 482 of the Code, the High Court has inherent power to quash the criminal proceedings even in 28those cases which are not compoundable, where the parties have settled the matter between themselves. However, this power is to be exercised sparingly and with caution. 29.2. When the parties have reached the settlement and on that basis petition for quashing the criminal proceedings is filed, the guiding factor in such cases would be to secure: (i) ends of justice, or (ii) to prevent abuse of the process of any court. While exercising the