From: Seunghun Lee Date: Mon, 20 Mar 2023 04:48:36 +0000 (+0900) Subject: Fix build error by -Werror=shadow X-Git-Tag: accepted/tizen/unified/20230320.164226^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d217ce3e056491693d739d7a6dc805050b79ef0;p=platform%2Fcore%2Fuifw%2Flibds.git Fix build error by -Werror=shadow The global variable of buffer seemed to have been accidently inserted by the commit, 4304a4d4. This removes this unused variable. Change-Id: I98118f54d38912a0e54758c4caeaaab5cb48f3b1 --- diff --git a/src/client_buffer/shm_client_buffer.c b/src/client_buffer/shm_client_buffer.c index 0b31b7f..a4a0b22 100644 --- a/src/client_buffer/shm_client_buffer.c +++ b/src/client_buffer/shm_client_buffer.c @@ -111,7 +111,6 @@ shm_client_buffer_get_resource(struct ds_buffer *ds_buffer) return buffer->resource; } -struct ds_shm_client_buffer *buffer; static const struct ds_buffer_interface shm_client_buffer_iface = { .destroy = shm_client_buffer_destroy,