Fix build error by -Werror=shadow 97/290097/1 accepted/tizen/unified/20230320.164226 accepted/tizen/unified/20230321.035433
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 20 Mar 2023 04:48:36 +0000 (13:48 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 20 Mar 2023 07:02:58 +0000 (16:02 +0900)
The global variable of buffer seemed to have been accidently inserted by
the commit, 4304a4d4. This removes this unused variable.

Change-Id: I98118f54d38912a0e54758c4caeaaab5cb48f3b1

src/client_buffer/shm_client_buffer.c

index 0b31b7f..a4a0b22 100644 (file)
@@ -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,