Fix "warning: possibly useless use of a variable in void context"

Uses double assignment as suggested by @robertgrimm in #24.
Yes