Skip to content

Commit

Permalink
use fallthrough attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-baker committed May 30, 2023
1 parent ad0cdaf commit 1b7bfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/val/validate_interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spv_result_t NumConsumedLocations(ValidationState_t& _, const Instruction* type,
*num_locations = 1;
break;
}
// Fallthrough...
[[fallthrough]];
}
default:
return _.diag(SPV_ERROR_INVALID_DATA, type)
Expand Down

0 comments on commit 1b7bfaf

Please sign in to comment.