message: Remove unused variable to prevent warning as error on arch build.
diff: @@ -31,12 +31,12 @@ namespace ospray {
  quad_vertices->setName("vertex");
  auto quad_colors = std::make_shared<DataVector3fa>();
  quad_colors->setName("color");
  - auto quad_indices = std::make_shared<DataVector1i>();
  + auto quad_indices = std::make_shared<DataVector4i>();
  quad_indices->setName("index");
  // get generator parameters
  int numQuads = 1;
  - float size = 0.05f;
  + float size = 0.1f;
  for (auto &p : params) {
  if (p.first == "numQuads")
  @@ -54,30 +54,29 @@ namespace ospray {
  quad_vertices->v.resize(numQuads*4);
  quad_colors->v.resize(numQuads*4);
  - quad_indices->v.resize(numQuads*4);
  + quad_indices->v.resize(numQuads);
  std::mt19937 rng;
  rng.seed(0);
  std::uniform_real_distribution<float> vert_dist(0, 1.0f);
  - static const vec3f delta_x(size, 0 , 0);
  - static const vec3f delta_y(0 , size, 0);
  + static const vec3f dx(size, 0 , 0);
  + static const vec3f dy(0 , size, 0);
  static const vec3fa r(1,0,0);
  static const vec3fa g(0,1,0);
  static const vec3fa b(0,0,1);
  - for (int i = 0; i < numQuads * 4; i++) {
  - quad_indices->v[i] = i;
  + for (int i = 0; i < numQuads; i++) {
  + quad_indices->v[i] = vec4i(4*i,4*i+1,4*i+2,4*i+3);
  }
  for (int i = 0; i < numQuads * 4; i+=4) {
  - auto rv = vec3f(vert_dist(rng), vert_dist(rng), vert_dist(rng));
  - auto rc = vec3f(vert_dist(rng), vert_dist(rng), vert_dist(rng));
  + auto center = vec3f(vert_dist(rng), vert_dist(rng), vert_dist(rng));
  - quad_vertices->v[i] = rv;
  - quad_vertices->v[i+1] = rv + delta_x;
  - quad_vertices->v[i+2] = rv + delta_x + delta_y;
  - quad_vertices->v[i+3] = rv + delta_y;
  + quad_vertices->v[i] = center - dx - dy;
  + quad_vertices->v[i+1] = center + dx - dy;
  + quad_vertices->v[i+2] = center + dx + dy;
  + quad_vertices->v[i+3] = center - dx + dy;
  quad_colors->v[i] = r+g+b;
  quad_colors->v[i+1] = r;
  