[GRASS-dev] is `initialized' initialized in HTML_Driver ()?

Ivan Shmakov ivan at theory.asu.ru
Sun Oct 12 10:47:08 EDT 2008


	Doesn't C require an explicit initial value for `initialized'
	here?

$ nl -ba grass-trunk-r33586/lib/htmldriver/Driver.c 
...
    20	const struct driver *HTML_Driver(void)
    21	{
    22	    static struct driver drv;
    23	    static int initialized;
    24	
    25	    if (initialized)
    26		return &drv;
...
$ 


More information about the grass-dev mailing list