Hi,
This is a small cleanup, apply it if you like :)
Changes:
- Remove font_extents variable, its unused, reported by femto on
IRC (using clang-analyzer).
- Allocate new client by using calloc, not using a static (zero'd)
Client struct in the manage function.
- Simplify the xerrorstart function a bit (when another
windowmanager is already running).
dwm.c | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
I attached the patch file.
PS. Sorry if I posted this twice (I had some mail troubles) :)
Kind regards,
Hiltjo Posthuma
This archive was generated by hypermail 2.2.0 : Wed Nov 10 2010 - 15:24:02 CET