Wimplicit-fallthrough fixes for tools/utils
authorRobin Gareus <robin@gareus.org>
Fri, 26 Oct 2018 12:53:11 +0000 (14:53 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 26 Oct 2018 12:53:53 +0000 (14:53 +0200)
session_utils/export.cc
tools/luadevel/devel.cc

index 5b89434cb6b4ce0dc4a610dfc82d155987aaf6cc..bf0848fe9175deadfaedee1a651c08c7d93d625c 100644 (file)
@@ -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;
index 9bbe31381092d6dca514107181458418e5bbf385..7d0deecbcf69e4a6d1331531284dc2dbcb405269 100644 (file)
@@ -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