Skip to content

Commit

Permalink
Add default to enum switch/case
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Winarske <[email protected]>
  • Loading branch information
jwinarske committed Nov 9, 2024
1 parent 74db7d2 commit 8e64453
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/window_manager/registrar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,9 @@ const char* Registrar::shm_format_to_text(wl_shm_format format) {
case WL_SHM_FORMAT_ABGR16161616:
return "ABGR16161616";
#endif
default:;
return "UNKNOWN";
}
return "UNKNOWN";
}

void Registrar::handle_interface_compositor(Registrar* r,
Expand Down

0 comments on commit 8e64453

Please sign in to comment.