summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2007-01-17 11:51:52 +0100
committerunknown <msvensson@pilot.mysql.com>2007-01-17 11:51:52 +0100
commitb95f107371606a6771e28447750372e172513d95 (patch)
tree1c540cc14c6d22ecfa2879cb64566785c1240a4f /myisam
parent4743deeba0ec93e27763100bb1f76c7a1239bbcb (diff)
downloadmariadb-git-b95f107371606a6771e28447750372e172513d95.tar.gz
Bug#25505 Myisam library compiler error on Windows
myisam/mi_packrec.c: Combine the declaration of variable and assignment into one line since that is allowed befgore declaring another variable in C.
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_packrec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/myisam/mi_packrec.c b/myisam/mi_packrec.c
index 5363a3ecf23..51b0222e876 100644
--- a/myisam/mi_packrec.c
+++ b/myisam/mi_packrec.c
@@ -590,8 +590,7 @@ static void fill_quick_table(uint16 *table, uint bits, uint max_bits,
static uint copy_decode_table(uint16 *to_pos, uint offset,
uint16 *decode_table)
{
- uint prev_offset;
- prev_offset= offset;
+ uint prev_offset= offset;
DBUG_ENTER("copy_decode_table");
/* Descent on the left side. */