diff options
author | hk57.kim <hk57.kim@samsung.com> | 2016-03-16 16:42:19 +0900 |
---|---|---|
committer | hk57.kim <hk57.kim@samsung.com> | 2016-03-16 16:42:19 +0900 |
commit | af39a3b110b53f9ab84de1a91483b5fc952ce6c0 (patch) | |
tree | 4556e9cd9ecfa282308bd796343a6634db83eadb /src/cairo-gl-gradient.c | |
parent | ea5563808b7f553121fbed5bc6b4bf908b1a8c05 (diff) | |
download | cairo-af39a3b110b53f9ab84de1a91483b5fc952ce6c0.tar.gz cairo-af39a3b110b53f9ab84de1a91483b5fc952ce6c0.tar.bz2 cairo-af39a3b110b53f9ab84de1a91483b5fc952ce6c0.zip |
fix build warningsubmit/tizen/20160406.010154submit/tizen/20160324.041503accepted/tizen/wearable/20160406.070924accepted/tizen/tv/20160406.070856accepted/tizen/mobile/20160406.070830accepted/tizen/ivi/20160406.070956accepted/tizen/common/20160406.143944
Change-Id: Iff4a3ad9811ba4454be3e29d8876a5f3974f4c7f
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
Diffstat (limited to 'src/cairo-gl-gradient.c')
-rw-r--r-- | src/cairo-gl-gradient.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-gl-gradient.c b/src/cairo-gl-gradient.c index 325612b0f..53801fffc 100644 --- a/src/cairo-gl-gradient.c +++ b/src/cairo-gl-gradient.c @@ -83,6 +83,8 @@ _cairo_gl_gradient_sample_width (unsigned int n_stops, return (width + 7) & -8; } +/* + # to avoid warning : defined but not used [-Wunused-function] static uint8_t premultiply(double c, double a) { int v = c * a * 256; @@ -103,6 +105,7 @@ static uint32_t color_stop_to_pixel(const cairo_gradient_stop_t *stop) else return a << 0 | r << 8 | g << 16 | b << 24; } +*/ static cairo_status_t _cairo_gl_gradient_render (const cairo_gl_context_t *ctx, |