[3/4] webservices: Reset the read position if an opening bracket is not followed by a valid name character.

Sebastian Lackner sebastian at fds-team.de
Wed Apr 6 07:46:53 CDT 2016


On 06.04.2016 14:09, Hans Leidekker wrote:
> +static inline void read_rewind( struct reader *reader, unsigned int count )
> +{
> +    while (reader->read_pos && count)
> +    {
> +        reader->read_pos--;
> +        count--;
> +    }
> +}

I know its also done similar in the function above, but it still looks weird to me.
Is it really necessary to unroll simple math functions like addition and subtraction?




More information about the wine-devel mailing list