Re: [PATCH v0 1/6] coding-style: Add static variable initialization entry

2012-10-04 Thread Daniel Wagner
Hi Patrik, On 03.10.2012 09:17, Patrik Flykt wrote: On tis, 2012-10-02 at 17:02 +0200, Daniel Wagner wrote: +M17: Always explicitly initialize static variables +== +Any static declared value need to be assign the initial value. + +Exmaple: +

Re: [PATCH v0 1/6] coding-style: Add static variable initialization entry

2012-10-03 Thread Patrik Flykt
On tis, 2012-10-02 at 17:02 +0200, Daniel Wagner wrote: +M17: Always explicitly initialize static variables +== +Any static declared value need to be assign the initial value. + +Exmaple: + +static GHastTable *driver_hash = NULL; +static int

[PATCH v0 1/6] coding-style: Add static variable initialization entry

2012-10-02 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- doc/coding-style.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/coding-style.txt b/doc/coding-style.txt index 30690b7..b5ef30e 100644 --- a/doc/coding-style.txt +++ b/doc/coding-style.txt @@ -306,6 +306,15 @@ Example: 2)

Re: [PATCH v0 1/6] coding-style: Add static variable initialization entry

2012-10-02 Thread Lucas De Marchi
On Tue, Oct 2, 2012 at 12:02 PM, Daniel Wagner w...@monom.org wrote: From: Daniel Wagner daniel.wag...@bmw-carit.de --- doc/coding-style.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/coding-style.txt b/doc/coding-style.txt index 30690b7..b5ef30e 100644 ---