mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 12:00:31 +01:00
remove unused macros defining corner positions
As pointed by gcc, the 4 constant the define the corner positions are not used anywhere in the code, and it looks like it has always been like this. As it is a cost for maintainability, get rid of them. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
1d0f02f5ca
commit
723f217355
@@ -229,11 +229,6 @@ void W_BalloonHandleEnterView(WMView * view)
|
||||
#define LEFT 0
|
||||
#define RIGHT 2
|
||||
|
||||
#define TLEFT (TOP|LEFT)
|
||||
#define TRIGHT (TOP|RIGHT)
|
||||
#define BLEFT (BOTTOM|LEFT)
|
||||
#define BRIGHT (BOTTOM|RIGHT)
|
||||
|
||||
#define SPACE 12
|
||||
|
||||
static void drawBalloon(WMScreen * scr, Pixmap bitmap, Pixmap pix, int x, int y, int w, int h, int side)
|
||||
|
||||
@@ -72,11 +72,6 @@ typedef struct _WBalloon {
|
||||
#define LEFT 0
|
||||
#define RIGHT 2
|
||||
|
||||
#define TLEFT (TOP|LEFT)
|
||||
#define TRIGHT (TOP|RIGHT)
|
||||
#define BLEFT (BOTTOM|LEFT)
|
||||
#define BRIGHT (BOTTOM|RIGHT)
|
||||
|
||||
static int countLines(const char *text)
|
||||
{
|
||||
const char *p = text;
|
||||
|
||||
Reference in New Issue
Block a user