Re: [PATCH 3/9] fsck: factor out msg_id_info[] lazy initialization code

2018-05-11 Thread Eric Sunshine
On Thu, May 10, 2018 at 10:19 AM Nguyễn Thái Ngọc Duy wrote: > This array will be used by some other function than parse_msg_id() in > the following commit. Factor out this prep code so it could be called > from that one. > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/fsck.c b/fsck.c

[PATCH 3/9] fsck: factor out msg_id_info[] lazy initialization code

2018-05-10 Thread Nguyễn Thái Ngọc Duy
This array will be used by some other function than parse_msg_id() in the following commit. Factor out this prep code so it could be called from that one. Signed-off-by: Nguyễn Thái Ngọc Duy --- fsck.c | 38 ++ 1 file changed, 22 insertions(+), 16 deletions(-)