Let $p(cdot): mathbb R^nto(0,infty)$ be a variable exponent function satisfying the globally log-Holder continuous condition. In this article, the authors first obtain a decomposition for any distribution of the variable weak Hardy space into good and bad parts and then prove the following real interpolation theorem between the variable Hardy space $H^{p(cdot)}(mathbb R^n)$ and the space $L^{infty}(mathbb R^n)$: begin{equation*} (H^{p(cdot)}(mathbb R^n),L^{infty}(mathbb R^n))_{theta,infty} =W!H^{p(cdot)/(1-theta)}(mathbb R^n),quad thetain(0,1), end{equation*} where $W!H^{p(cdot)/(1-theta)}(mathbb R^n)$ denotes the variable weak Hardy space. As an application, the variable weak Hardy space $W!H^{p(cdot)}(mathbb R^n)$ with $p_-:=mathopmathrm{ess,inf}_{xinrn}p(x)in(1,infty)$ is proved to coincide with the variable Lebesgue space $W!L^{p(cdot)}(mathbb R^n)$.