gstquery: Fix unitialized variable