| Index: include/core/SkMath.h
|
| diff --git a/include/core/SkMath.h b/include/core/SkMath.h
|
| index 014f014debb771575af495aad5469498bebbf6cd..d9517dd6a228f4bdce4a581385a34633dc05c5e5 100644
|
| --- a/include/core/SkMath.h
|
| +++ b/include/core/SkMath.h
|
| @@ -79,6 +79,9 @@ int SkCLZ_portable(uint32_t);
|
| if (mask) {
|
| DWORD index;
|
| _BitScanReverse(&index, mask);
|
| + // Suppress this bogus /analyze warning. The check for non-zero
|
| + // guarantees that _BitScanReverse will succeed.
|
| +#pragma warning(suppress : 6102) // Using 'index' from failed function call
|
| return index ^ 0x1F;
|
| } else {
|
| return 32;
|
|
|