Got rid of warning in SharedArray by removing unused local pointer