Fix redundant return statements

… at the end of a function with a void return type.

Found using clang-tidy's readability-redundant-control-flow.
This commit is contained in:
Orestis Floros
2018-04-26 23:58:42 +03:00
parent 55dd5b8d84
commit aca7790217
4 changed files with 0 additions and 13 deletions

View File

@ -2067,5 +2067,4 @@ void set_current_mode(struct mode *current) {
I3STRING_FREE(binding.name);
binding = *current;
activated_mode = binding.name != NULL;
return;
}