To each switch statement in s_texfilter.c, add a break statement to the
default case.
Eliminates the Eclipse static analysis warning: No break at the end of
this case.
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
default:
_mesa_problem(NULL, "Bad wrap mode");
u = 0.0F;
+ break;
}
*weight = FRAC(u);
}
_mesa_problem(NULL, "bad wrapMode in clamp_rect_coord_linear");
i0 = i1 = 0;
fcol = 0.0F;
+ break;
}
*i0out = i0;
*i1out = i1;
break;
default:
*i = *j = *k = 0;
+ break;
}
}
default:
*slice = 0;
+ break;
}
}
break;
default:
COPY_4V(rgba, tObj->Sampler.BorderColor.f);
+ break;
}
}
break;
default:
_mesa_problem(ctx, "Bad mag filter in sample_lambda_2d");
+ break;
}
}
}
break;
default:
_mesa_problem(ctx, "Bad min filter in sample_lambda_cube");
+ break;
}
}
break;
default:
_mesa_problem(ctx, "Bad mag filter in sample_lambda_cube");
+ break;
}
}
}
break;
default:
_mesa_problem(ctx, "Bad depth texture mode");
+ break;
}
}
}