Skip to content

Commit

Permalink
Wimplicit-fallthrough fixes for tools/utils
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Oct 26, 2018
1 parent 4f86da8 commit 5c08a6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion session_utils/export.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ int main (int argc, char* argv[])
settings._sample_format = ExportFormatBase::SF_Float;
break;
}
// no break

/* fall through */
default:
fprintf(stderr, "Invalid Bit Depth\n");
break;
Expand Down
3 changes: 2 additions & 1 deletion tools/luadevel/devel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ class LuaTableRef {
}
// invalid userdata -- fall through
}
// no break

/* fall through */
case LUA_TFUNCTION: // no support -- we could... string.format("%q", string.dump(value, true))
case LUA_TTABLE: // no nested tables, sorry.
case LUA_TNIL: // fallthrough
Expand Down

0 comments on commit 5c08a6a

Please sign in to comment.