This study explores the stability of the uniqueness of the trivial solutions when a star-shaped domain is perturbed. For a general variational integral, the uniqueness result is obtained by establishing a Pohozaev identity. In the case of star-shaped domains, a simple vector field is used in the Pohozaev identity.