Fixed warning of test of in_object_space by the reinitialized constant

Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>