Skip to content

Commit

Permalink
Add missing breaks for QNX cache counting (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominichamon authored Jul 30, 2020
1 parent 9901011 commit 1302d2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,11 @@ std::vector<CPUInfo::CacheInfo> GetCacheSizesQNX() {
case CACHE_FLAG_UNIFIED :
info.type = "Unified";
info.level = 2;
break;
case CACHE_FLAG_SHARED :
info.type = "Shared";
info.level = 3;
break;
default :
continue;
break;
Expand Down

0 comments on commit 1302d2c

Please sign in to comment.