core: remove unused variable

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
core: remove superfluous whitespace

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>