[PATCH weston] simple-shm: remove an unnecessary call of wl_display_get_fd()
Nils Chr. Brause
nilschrbrause at gmail.com
Tue Aug 26 12:25:22 PDT 2014
Since wl_display_get_fd() doesn't have any side effects, this is truly
useless.
Reviewed-by: Nils Chr. Brause <nilschrbrause at gmail.com>
On Tue, Aug 26, 2014 at 2:59 PM, Ryo Munakata <ryomnktml at gmail.com> wrote:
> ---
> clients/simple-shm.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/clients/simple-shm.c b/clients/simple-shm.c
> index b1c311f..c1cb386 100644
> --- a/clients/simple-shm.c
> +++ b/clients/simple-shm.c
> @@ -393,8 +393,6 @@ create_display(void)
> exit(1);
> }
>
> - wl_display_get_fd(display->display);
> -
> return display;
> }
>
> --
> 2.1.0
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140826/e592e36e/attachment.html>
More information about the wayland-devel
mailing list