Removed some duplicate variable warnings

Signed-off-by: Jeremy Ho <jujaga@gmail.com>