Skip to content

Commit

Permalink
Remove unused macros
Browse files Browse the repository at this point in the history
This fixes some compiler warnings:

    mainblk.cpp:28:9: warning: macro is not used [-Wunused-macros]
    mainblk.cpp:29:9: warning: macro is not used [-Wunused-macros]
    [...]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 22, 2018
1 parent dba7f45 commit a71ad45
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/ccmain/tessbox.cpp
Expand Up @@ -20,8 +20,6 @@
#include "mfoutline.h"
#include "tesseractclass.h"

#define EXTERN

/**
* @name tess_segment_pass_n
*
Expand Down
1 change: 0 additions & 1 deletion src/ccmain/tessedit.cpp
Expand Up @@ -47,7 +47,6 @@
#include "matchdefs.h"
#endif

#define VARDIR "configs/" /*variables files */
// config under api
#define API_CONFIG "configs/api_config"

Expand Down
1 change: 0 additions & 1 deletion src/ccstruct/blobbox.cpp
Expand Up @@ -36,7 +36,6 @@
struct Pix;

#define PROJECTION_MARGIN 10 //arbitrary
#define EXTERN

ELISTIZE(BLOBNBOX)
ELIST2IZE(TO_ROW)
Expand Down
3 changes: 0 additions & 3 deletions src/ccutil/mainblk.cpp
Expand Up @@ -25,9 +25,6 @@
#include "fileerr.h"
#include "ccutil.h"

#define VARDIR "configs/" /**< variables files */
#define EXTERN

const ERRCODE NO_PATH =
"Warning:explicit path for executable will not be used for configs";
static const ERRCODE USAGE = "Usage";
Expand Down

0 comments on commit a71ad45

Please sign in to comment.