Re: [PATCH 3/3] Initialize variables with values

2013-05-09 Thread René Scharfe
Am 09.05.2013 15:21, schrieb Jonathan Nieder: Hi, Sven Strickroth wrote: With MSVC initializing a variable with "int a=a" causes a warning about using an uninitialized value. [...] --- a/builtin/rev-list.c +++ b/builtin/rev-list.c @@ -338,7 +338,7 @@ int cmd_rev_list(int argc, const char **a

Re: [PATCH 3/3] Initialize variables with values

2013-05-09 Thread Sven Strickroth
Am 09.05.2013 15:21 schrieb Jonathan Nieder: > Sven Strickroth wrote: > >> With MSVC initializing a variable with "int a=a" causes a warning about >> using an uninitialized value. > [...] >> --- a/builtin/rev-list.c >> +++ b/builtin/rev-list.c >> @@ -338,7 +338,7 @@ int cmd_rev_list(int argc, cons

Re: [PATCH 3/3] Initialize variables with values

2013-05-09 Thread Jonathan Nieder
Hi, Sven Strickroth wrote: > With MSVC initializing a variable with "int a=a" causes a warning about > using an uninitialized value. [...] > --- a/builtin/rev-list.c > +++ b/builtin/rev-list.c > @@ -338,7 +338,7 @@ int cmd_rev_list(int argc, const char **argv, const char > *prefix) >

Re: [PATCH 3/3] Initialize variables with values

2013-05-09 Thread Krzysztof Mazur
On Thu, May 09, 2013 at 03:13:39AM +0200, Sven Strickroth wrote: > With MSVC initializing a variable with "int a=a" causes a warning about > using an uninitialized value. > > Signed-off-by: Sven Strickroth > --- > builtin/rev-list.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di