1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

remove a few unused constant for size of buffers

As pointed by gcc, a few constants which contain sizes for buffers are not
used anywhere in the code. This is probably due to code cleanup, where
these buffers have been removed or where size is automatically calculated
by using 'sizeof' instead to reduce risk of bugs.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2014-12-08 22:42:34 +01:00
committed by Carlos R. Mafra
parent bbd42b3a20
commit 1d0f02f5ca
4 changed files with 0 additions and 7 deletions

View File

@@ -264,9 +264,6 @@ enum {
#define COLORWHEEL_PART 1
#define CUSTOMPALETTE_PART 2
#define BUFSIZE 1024
#define MAX_LENGTH 1024
#ifndef M_PI
#define M_PI 3.14159265358979323846

View File

@@ -43,8 +43,6 @@ typedef struct W_FontPanel {
#define MIN_UPPER_HEIGHT 20
#define MIN_LOWER_HEIGHT 140
#define MAX_FONTS_TO_RETRIEVE 2000
#define BUTTON_SPACE_HEIGHT 40
#define MIN_WIDTH 250

View File

@@ -42,7 +42,6 @@ typedef enum {
} InfoType;
#define MAX_SECTION_SIZE 4
#define PATH_LEN 256
typedef struct _Panel {
WMBox *box;

View File

@@ -57,7 +57,6 @@
/* index of the first workspace menu entry */
#define MC_WORKSPACE1 3
#define MAX_SHORTCUT_LENGTH 32
#define WORKSPACE_NAME_DISPLAY_PADDING 32
static WMPropList *dWorkspaces = NULL;