Fix remaining windows (32 bit) warnings.

This commit is contained in:
Vladislav Vaintroub 2011-02-19 15:16:31 +01:00
commit 99320324b2
2 changed files with 5 additions and 1 deletions

View file

@ -1942,4 +1942,7 @@ bool debug_sync_set_action(THD *thd, const char *action_str, size_t len)
} }
#endif /* defined(ENABLED_DEBUG_SYNC) */ #else /* defined(ENABLED_DEBUG_SYNC) */
/* prevent linker/lib warning about file without public symbols */
int debug_sync_dummy;
#endif /* defined(ENABLED_DEBUG_SYNC) */

View file

@ -2062,6 +2062,7 @@ static void lck_do_job(XTThreadPtr self, int job, XSLockTestPtr data, xtBool rea
switch (job) { switch (job) {
case JOB_MEMCPY: case JOB_MEMCPY:
b2[0]=0;
memcpy(b1, b2, 2048); memcpy(b1, b2, 2048);
data->xs_inc++; data->xs_inc++;
break; break;