Skip to content

Commit

Permalink
Fix a "no return value" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ridiculousfish committed Feb 23, 2019
1 parent 130f226 commit 9715db9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ void event_print(io_streams_t &streams, maybe_t<event_type_t> type_filter) {
case event_type_t::generic:
return d1.str_param1 < d2.str_param1;
}
DIE("Unreachable");
});

maybe_t<event_type_t> last_type{};
Expand Down

0 comments on commit 9715db9

Please sign in to comment.