Commit e3da09f2 authored by Bernhard Link's avatar Bernhard Link

silence warnings about case-fall-throughs

parent 16189f8f
......@@ -304,6 +304,7 @@ static retvalue parsediff(struct compressedfile *f, /*@null@*/char **section_p,
return RET_NOTHING;
lines_out--;
/* no break */
__attribute__ ((fallthrough));
case '-':
if (unlikely(lines_in == 0))
return RET_NOTHING;
......
......@@ -146,7 +146,8 @@ static retvalue parseatom(const char **formula, /*@out@*/struct term_atom **atom
comparison = tc_notequal;
break;
}
// no break here...
*formula = f;
return RET_NOTHING;
default:
*formula = f;
return RET_NOTHING;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment