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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 27, 2016 at 10:18:19AM -0400, Frediano Ziglio wrote:
> > 
> > ---
> >  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...

Ah yeah I kept the 8 spaces for tabs without checking whether I should
use something appropriate. I can fix up to 4 spaces, no problem.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]