Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: av7110_send_fw_cmd error
C.Y.M. wrote:
> One other variable that I did
> notice is "static int pids_off;" in av7110.c. I have patched the code to
> make sure that variable gets initialized by changing it to "static int
> pids_off = 0;".
Unless your compiler is severely broken, that's exactly the same. Static
variables are always initialized to 0 if you don't explicitly initialize
them to something else. See e.g.
<http://www.eskimo.com/~scs/C-faq/q1.30.html>.
Regards...
Michael
Home |
Main Index |
Thread Index