Skip to content

Commit

Permalink
Remove labs() warning from maria and myisam storage engines
Browse files Browse the repository at this point in the history
  • Loading branch information
cvicentiu committed Dec 1, 2016
1 parent 748d993 commit 525e214
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions storage/maria/ma_test2.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
#define STANDARD_LENGTH 37
#define MARIA_KEYS 6
#define MAX_PARTS 4
#if !defined(MSDOS) && !defined(labs)
#define labs(a) abs(a)
#endif

static void get_options(int argc, char *argv[]);
static uint rnd(uint max_value);
Expand Down
3 changes: 0 additions & 3 deletions storage/myisam/mi_test2.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
#define STANDARD_LENGTH 37
#define MYISAM_KEYS 6
#define MAX_PARTS 4
#if !defined(labs)
#define labs(a) abs(a)
#endif

static void get_options(int argc, char *argv[]);
static uint rnd(uint max_value);
Expand Down

0 comments on commit 525e214

Please sign in to comment.