If the right of the plaintiff to the possession of the property expire, after the commencement of the action and before the trial, the verdict shall be given according to the fact, and judgment shall be given only for the damages.
[Code 1881 § 542; 1877 p 114 § 546; 1869 p 130 § 494; RRS § 800.]