[Spice-devel] [spice-server 2/9] syntax-check: Change tabs to spaces

Frediano Ziglio fziglio at redhat.com
Thu Oct 27 14:18:19 UTC 2016


> 
> ---
>  server/glib-compat.h | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/server/glib-compat.h b/server/glib-compat.h
> index a20a434..4d4ca43 100644
> --- a/server/glib-compat.h
> +++ b/server/glib-compat.h
> @@ -24,9 +24,9 @@
>  static inline void
>  g_queue_free_full(GQueue *queue, GDestroyNotify free_func)
>  {
> -	/* quite hack cast but work with standard C call convention */
> -	g_queue_foreach(queue, (GFunc) free_func, NULL);
> -	g_queue_clear(queue);
> +        /* quite hack cast but work with standard C call convention */
> +        g_queue_foreach(queue, (GFunc) free_func, NULL);
> +        g_queue_clear(queue);
>  }
>  #endif
>  
> @@ -34,12 +34,12 @@ g_queue_free_full(GQueue *queue, GDestroyNotify
> free_func)
>  static inline gboolean
>  g_queue_remove_boolean(GQueue *queue, gconstpointer data)
>  {
> -	GList *link = g_queue_find(queue, data);
> -	if (!link) {
> -		return FALSE;
> -	}
> -	g_queue_unlink(queue, link);
> -	return TRUE;
> +        GList *link = g_queue_find(queue, data);
> +        if (!link) {
> +                return FALSE;
> +        }
> +        g_queue_unlink(queue, link);
> +        return TRUE;
>  }
>  #define g_queue_remove g_queue_remove_boolean
>  #endif

Looks like 8 space tab are used instead of 4.
Probably my fault, I edited on RHEL 6 without my machine vim settings...

Frediano


More information about the Spice-devel mailing list