WaE: variable 'itResEnd' set but not used

Change-Id: I6594472b1e93c083fdc52133a6b120c031dff64a
(cherry picked from commit 49ce8c126c962d75e2fefd5b4a578c213ff6a9bf)
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>