Rather that (void)ing ctx, document the case where it might not be used. BUG=webm:1612
Unified · Split
| @@ -88,8 +88,6 @@ static int get_cpu_count() { · 87 unmodified lines | ||
| 88 | 88 | void vp8_machine_specific_config(VP8_COMMON *ctx) { |
| 89 | 89 | #if CONFIG_MULTITHREAD |
| 90 | 90 | ctx->processor_core_count = get_cpu_count(); |
| 91 | −#else | |
| 92 | − (void)ctx; | |
| 93 | 91 | #endif /* CONFIG_MULTITHREAD */ |
| 94 | 92 | |
| 95 | 93 | #if VPX_ARCH_ARM |
| @@ -98,5 +96,8 @@ void vp8_machine_specific_config(VP8_COMMON *ctx) { · 2 unmodified lines | ||
| 98 | 96 | ctx->cpu_caps = x86_simd_caps(); |
| 99 | 97 | #elif VPX_ARCH_PPC |
| 100 | 98 | ctx->cpu_caps = ppc_simd_caps(); |
| 99 | +#else | |
| 100 | + // generic-gnu targets. | |
| 101 | + ctx->cpu_caps = 0; | |
| 101 | 102 | #endif |
| 102 | 103 | } |