diff options
| author | 2019-11-15 18:43:35 -0300 | |
|---|---|---|
| committer | 2019-11-15 18:43:35 -0300 | |
| commit | 2ac834c722aa21c00bedd7109cc29b84fa63cc32 (patch) | |
| tree | 6b419f077f874919baaaf91019ca25ebf225db26 /src | |
| parent | Merge pull request #3047 from ReinUsesLisp/clip-control (diff) | |
| download | yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar.gz yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar.xz yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.zip | |
common/logging: Silence no return value warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/logging/backend.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 1111cfbad..8f2591d53 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -272,8 +272,10 @@ const char* GetLogClassName(Class log_class) { | |||
| 272 | #undef CLS | 272 | #undef CLS |
| 273 | #undef SUB | 273 | #undef SUB |
| 274 | case Class::Count: | 274 | case Class::Count: |
| 275 | UNREACHABLE(); | 275 | break; |
| 276 | } | 276 | } |
| 277 | UNREACHABLE(); | ||
| 278 | return "Invalid"; | ||
| 277 | } | 279 | } |
| 278 | 280 | ||
| 279 | const char* GetLevelName(Level log_level) { | 281 | const char* GetLevelName(Level log_level) { |
| @@ -288,9 +290,11 @@ const char* GetLevelName(Level log_level) { | |||
| 288 | LVL(Error); | 290 | LVL(Error); |
| 289 | LVL(Critical); | 291 | LVL(Critical); |
| 290 | case Level::Count: | 292 | case Level::Count: |
| 291 | UNREACHABLE(); | 293 | break; |
| 292 | } | 294 | } |
| 293 | #undef LVL | 295 | #undef LVL |
| 296 | UNREACHABLE(); | ||
| 297 | return "Invalid"; | ||
| 294 | } | 298 | } |
| 295 | 299 | ||
| 296 | void SetGlobalFilter(const Filter& filter) { | 300 | void SetGlobalFilter(const Filter& filter) { |