diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-08-29 10:32:00 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-08-29 10:32:00 +0300 |
commit | 8fb2a011880256c31b2698450a79ca753674d757 (patch) | |
tree | f5dd4c251c9679ddaf846dc6d7263e1fbffc5b86 | |
parent | 38fd7ddb790609db3e91540d183fb8b62250d969 (diff) |
sysconf.cc: Fix compiler warning.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/sysconf.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc index b9bcb2b6c..ae35c6e40 100644 --- a/winsup/cygwin/sysconf.cc +++ b/winsup/cygwin/sysconf.cc @@ -428,6 +428,8 @@ get_cpu_cache_amd (int in, uint32_t maxe) else if (in >= _SC_LEVEL2_CACHE_SIZE && in <= _SC_LEVEL3_CACHE_LINESIZE && maxe >= 0x80000006) cpuid (&eax, &ebx, &ecx, &edx, 0x80000006); + else + return 0; switch (in) { |