https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8fb2a011880256c31b2698450a79ca753674d757
commit 8fb2a011880256c31b2698450a79ca753674d757 Author: Corinna Vinschen <[email protected]> Date: Sat Aug 29 09:32:00 2015 +0200 sysconf.cc: Fix compiler warning. Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/sysconf.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc index b9bcb2b..ae35c6e 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) {
