warnings
Statistics.errors, Statistics.warnings,
if (Statistics.errors != 0 || Statistics.warnings != 0) {
Statistics.errors, Statistics.warnings);
Statistics.warnings++;
warnings,
if (warnings) {
if (fs != size && warnings) {
int warnings = 1;
extern int warnings;
exit(warnings ? 1 : 0);
exit(warnings ? 1 : 0);
int warnings = 0;
warnings++;
return (warnings ? 1 : 0);
extern int warnings;
int warnings = 0;
warnings++;
if (warnings)
if (warnings)
if (warnings && !use_all)
if (warnings)
if (warnings && *mlink->dsec != '\0' &&
if (warnings)
if (warnings)
static int warnings; /* warn about crap */
warnings = 1;
nodb = warnings = 1;
if (warnings)
if (warnings) say("",
if (warnings)
if (warnings)
if (warnings)
if (warnings)
if (warnings)
if (warnings)
if (warnings)
if (warnings)
if (warnings)
if (warnings)
if (warnings && (ferror(stderr) || fclose(stderr) != 0))
static bool warnings;
warnings = true;
state.signals = state.unspecified = state.warnings = 0;
state.warnings++;
printf("tests=%-4d errors=%-4d warnings=%-2d ignored=%-2d unspecified=%-2d signals=%d\n", testno, state.errors, state.warnings, state.ignored, state.unspecified, state.signals);
if (state.warnings)
printf(", %d warning%s", state.warnings, state.warnings == 1 ? "" : "s");
int warnings;
warnings(ctx->i_ae);
warnings(ctx->i_ae);
static const struct flag warnings[] = {
static char **handle_onoff_switch(char *arg, char **next, const struct flag warnings[], int n)
if (*warnings[i].flag != WARNING_FORCE_OFF && warnings[i].flag != &Wsparse_error)
*warnings[i].flag = WARNING_ON;
if (!strcmp(p,warnings[i].name)) {
*warnings[i].flag = flag;
char ** ret = handle_onoff_switch(arg, next, warnings, ARRAY_SIZE(warnings));
static void handle_onoff_switch_finalize(const struct flag warnings[], int n)
if (*warnings[i].flag == WARNING_FORCE_OFF)
*warnings[i].flag = WARNING_OFF;
handle_onoff_switch_finalize(warnings, ARRAY_SIZE(warnings));
DbgMessage(pdev, FATAL, "Idle_chk completed successfully (with %d warnings of %d checks)\n", warnings, total);
DbgMessage(pdev, FATAL, "Idle_chk failed !!! (with %d errors, %d warnings of %d checks)\n",errors, warnings, total);
u32_t warnings = 0;
warnings++; \