shared: Fix uninitialized data usage