Re: [PATCH] rtl2832: remove compiler warning

2015-02-11 Thread Luis de Bethencourt
On Tue, Feb 10, 2015 at 09:35:52PM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 10 Feb 2015 12:57:24 +0200 > Antti Palosaari escreveu: > > > On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: > > > Cleaning the following compiler warning: > > > rtl2832.c:703:12: warning: 'tmp' may be used

Re: [PATCH] rtl2832: remove compiler warning

2015-02-11 Thread Luis de Bethencourt
On Tue, Feb 10, 2015 at 09:35:52PM -0200, Mauro Carvalho Chehab wrote: Em Tue, 10 Feb 2015 12:57:24 +0200 Antti Palosaari cr...@iki.fi escreveu: On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used

Re: [PATCH] rtl2832: remove compiler warning

2015-02-10 Thread Mauro Carvalho Chehab
Em Tue, 10 Feb 2015 12:57:24 +0200 Antti Palosaari escreveu: > On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: > > Cleaning the following compiler warning: > > rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function > > > > Even though it could never happen since if

Re: [PATCH] rtl2832: remove compiler warning

2015-02-10 Thread Luis de Bethencourt
On Tue, Feb 10, 2015 at 12:57:24PM +0200, Antti Palosaari wrote: > On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: > >Cleaning the following compiler warning: > >rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function > > > >Even though it could never happen since if

Re: [PATCH] rtl2832: remove compiler warning

2015-02-10 Thread Antti Palosaari
On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if rtl2832_rd_demod_reg () doesn't set tmp, this line would never run because we go to

Re: [PATCH] rtl2832: remove compiler warning

2015-02-10 Thread Antti Palosaari
On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if rtl2832_rd_demod_reg () doesn't set tmp, this line would never run because we go to

Re: [PATCH] rtl2832: remove compiler warning

2015-02-10 Thread Mauro Carvalho Chehab
Em Tue, 10 Feb 2015 12:57:24 +0200 Antti Palosaari cr...@iki.fi escreveu: On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if

Re: [PATCH] rtl2832: remove compiler warning

2015-02-10 Thread Luis de Bethencourt
On Tue, Feb 10, 2015 at 12:57:24PM +0200, Antti Palosaari wrote: On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if

Re: [PATCH] rtl2832: remove compiler warning

2015-02-08 Thread Luis de Bethencourt
On Sun, Feb 08, 2015 at 10:44:22PM +, Luis de Bethencourt wrote: > Cleaning the following compiler warning: > rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function > > Even though it could never happen since if rtl2832_rd_demod_reg () doesn't set > tmp, this line would

[PATCH] rtl2832: remove compiler warning

2015-02-08 Thread Luis de Bethencourt
Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if rtl2832_rd_demod_reg () doesn't set tmp, this line would never run because we go to err. It is still nice to avoid compiler warnings.

[PATCH] rtl2832: remove compiler warning

2015-02-08 Thread Luis de Bethencourt
Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if rtl2832_rd_demod_reg () doesn't set tmp, this line would never run because we go to err. It is still nice to avoid compiler warnings.

Re: [PATCH] rtl2832: remove compiler warning

2015-02-08 Thread Luis de Bethencourt
On Sun, Feb 08, 2015 at 10:44:22PM +, Luis de Bethencourt wrote: Cleaning the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if rtl2832_rd_demod_reg () doesn't set tmp, this line would never