tdb2: fix uninitialized var.