On 22 January 2016 at 03:32, Pavel Machek wrote:
>
>> - goto repeat;
>> +
>> + /*check expires firstly for auto suspend mode,
>> + *if not, just go ahead to the async
>> + */
>
> English, coding style.
>
> - goto repeat;
> +
> + /*check expires firstly for auto suspend mode,
> + *if not, just go ahead to the async
> + */
English, coding style.
Pavel
There are 11 'goto' and 4 'label' within he original rpm_suspend funciton,
which make the code a little bit hard for understanding and debugging.Just
try to remove all 'goto' and 'label', and split the function into 6 small ones
which take one phase of the process each(_rpm_suspend_xxx).
By removin
3 matches
Mail list logo