[PATCH] xts5: Try to improve readability.

Aaron Plattner aplattner at nvidia.com
Fri Jun 10 10:37:45 PDT 2011


On Fri, Jun 03, 2011 at 06:37:54AM -0700, Cyril Brulebois wrote:
> Suggested-by: Walter Harms <wharms at bfs.de>
> Signed-off-by: Cyril Brulebois <kibi at debian.org>
> ---
>  xts5/src/lib/nextvclass.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/xts5/src/lib/nextvclass.c b/xts5/src/lib/nextvclass.c
> index 7a6a5f2..da4dc1f 100644
> --- a/xts5/src/lib/nextvclass.c
> +++ b/xts5/src/lib/nextvclass.c
> @@ -221,7 +221,8 @@ int	Lclass;
>  		}
>  		Lclass = Nclass;
>  		for (s = left_bracket; s; s = comma) {
> -			if ((comma = strchr(++s, COMMA)))
> +			comma = strchr(++s, COMMA);
> +			if (comma)
>  				*comma = '\0';
>  			if (*s == '\0')
>  				break;
> -- 
> 1.7.5.3

Merged to git://anongit.freedesktop.org/git/xorg/test/xts
   1b84405..7af605f  master -> master


More information about the xorg-devel mailing list