-
Notifications
You must be signed in to change notification settings - Fork 4
Description
/root/ngx_pngquant/deps/pngquant/lib/libimagequant.c: In function 'remap_to_palette':
/root/ngx_pngquant/deps/pngquant/lib/libimagequant.c:974:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if (rows*cols > 3000) \
/root/ngx_pngquant/deps/pngquant/lib/libimagequant.c: In function 'get_dithered_pixel':
/root/ngx_pngquant/deps/pngquant/lib/libimagequant.c:1009:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else if (px.r + sr < 0) ratio = MIN(ratio, px.r/-sr);
^~~~
/root/ngx_pngquant/deps/pngquant/lib/libimagequant.c:1010:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
if (px.g + sg > 1.03) ratio = MIN(ratio, (1.03-px.g)/sg);
^~
/root/ngx_pngquant/deps/pngquant/lib/libimagequant.c:1011:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else if (px.g + sg < 0) ratio = MIN(ratio, px.g/-sg);
^~~~
/root/ngx_pngquant/deps/pngquant/lib/libimagequant.c:1012:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
if (px.b + sb > 1.03) ratio = MIN(ratio, (1.03-px.b)/sb);
^~