# HG changeset patch # User Pavel Jank # Date 1003905359 0 # Node ID 8173ac4f5804aff3368708cab92eadde01f73d2f # Parent 36ae7fa25db9dff15cccf00c834d8eae5d15e3ab Don't define max. (coordinates_in_window): Remove unused variable `uy'. diff -r 36ae7fa25db9 -r 8173ac4f5804 src/window.c --- a/src/window.c Wed Oct 24 06:32:53 2001 +0000 +++ b/src/window.c Wed Oct 24 06:35:59 2001 +0000 @@ -48,10 +48,6 @@ #include "macterm.h" #endif -#ifndef max -#define max(a, b) ((a) < (b) ? (b) : (a)) -#endif - /* Values returned from coordinates_in_window. */ enum window_part @@ -517,7 +513,7 @@ int left_x, right_x, top_y, bottom_y; int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f); enum window_part part; - int ux = CANON_X_UNIT (f), uy = CANON_Y_UNIT (f); + int ux = CANON_X_UNIT (f); int x0 = XFASTINT (w->left) * ux; int x1 = x0 + XFASTINT (w->width) * ux; /* The width of the area where the vertical line can be dragged.