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

Attachment: dwm-small-cleanup.diff
Description: Binary data

Reply via email to