[dev] [dwm] small cleanup

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 10 Nov 2010 15:21:36 +0100

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

Received on Wed Nov 10 2010 - 15:21:36 CET

This archive was generated by hypermail 2.2.0 : Wed Nov 10 2010 - 15:24:02 CET