From 98f4e72f1ae492771a755bf86c88da7c21f20720 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Fri, 5 Jan 2018 23:30:41 +0900 Subject: removed most compiler warnings --- pacc/pacc-gl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pacc/pacc-gl.c') diff --git a/pacc/pacc-gl.c b/pacc/pacc-gl.c index ada045e..ae0db0e 100644 --- a/pacc/pacc-gl.c +++ b/pacc/pacc-gl.c @@ -188,6 +188,7 @@ static void pacc_buf_delete(struct pacc_buf *pb) { static struct pacc_buf *pacc_gen_buf( struct pacc_ctx *pc, struct pacc_tex *pt, enum pacc_buf_mode mode) { + (void)pc; struct pacc_buf *pb = malloc(sizeof(*pb)); if (!pb) goto err; *pb = (struct pacc_buf) { @@ -432,6 +433,7 @@ static void pacc_tex_delete(struct pacc_tex *pt) { } static struct pacc_tex *pacc_gen_tex(struct pacc_ctx *pc, int w, int h) { + (void)pc; struct pacc_tex *pt = malloc(sizeof(*pt)); if (!pt) goto err; *pt = (struct pacc_tex) { -- cgit v1.2.3