diff options
author | Sami Kerola | 2012-06-16 23:09:54 +0200 |
---|---|---|
committer | Sami Kerola | 2012-06-17 17:59:59 +0200 |
commit | ce7b11a98e945932cc5c47ee20a6d916682b815c (patch) | |
tree | 2b3d93a027b12d79d2173d7cad4682ca93fe8810 /text-utils | |
parent | mkfs.cramfs: disallow unknown command line options (diff) | |
download | kernel-qcow2-util-linux-ce7b11a98e945932cc5c47ee20a6d916682b815c.tar.gz kernel-qcow2-util-linux-ce7b11a98e945932cc5c47ee20a6d916682b815c.tar.xz kernel-qcow2-util-linux-ce7b11a98e945932cc5c47ee20a6d916682b815c.zip |
lib/mbsalign: abort() when non-expected case is encountered
Fixes the following compiler warning (9 occurrences), and makes program
to crash if mbsaligh() is called with unexpected align value (which
would be programming error).
../lib/mbsalign.c:260:7: warning: switch missing default case [-Wswitch-default]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils')
0 files changed, 0 insertions, 0 deletions