Bug #11969: Fix undefined variable warning