Removed useless variables parameter into GetValue (using the variables parameter in GetValue would *always* be an error)

Signed-off-by: Martin Evans <martindevans@gmail.com>