When rebuilding ctwm today, I got a warning that dragroot isn't
properly initialised in menus.c.  More precisely, it's in the mega
function ExecuteFunction, in the F_MOVEPUSH case.

dragroot is used in line 2583, where it hasn't been initialised.
Further down, it is finally being initialised...  *twice*:

2675:   dragroot = rootw;
2676:   dragroot = Scr->RealRoot;

This looks very much like a patch has been badly applied, maybe by
me.  Would anyone care to help me figure out what needs to be done?
The best thing would really be to initialise it properly at the point
of definition, the start of the case.

BTW, the line numbers I give you may be off by a few, as I'm changing
and removing obsolete code that only cause warnings.

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         [EMAIL PROTECTED]
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis

Reply via email to