Code cleanup
This commit is contained in:
@ -89,7 +89,7 @@ int main(int argc, char* argv[])
|
|||||||
goto return_err;
|
goto return_err;
|
||||||
}
|
}
|
||||||
|
|
||||||
thr = (thread_t*)calloc(1, nthr*sizeof(thread_t*));
|
thr = (thread_t **)calloc(1, nthr*sizeof(thread_t*));
|
||||||
|
|
||||||
if (thr == NULL)
|
if (thr == NULL)
|
||||||
{
|
{
|
||||||
@ -585,7 +585,6 @@ static void* thr_run_morelog(
|
|||||||
void* data)
|
void* data)
|
||||||
{
|
{
|
||||||
thread_t* td = (thread_t *)data;
|
thread_t* td = (thread_t *)data;
|
||||||
char* logstr;
|
|
||||||
int err;
|
int err;
|
||||||
int i;
|
int i;
|
||||||
int nmsg;
|
int nmsg;
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
*
|
*
|
||||||
* Copyright MariaDB Corporation Ab 2013-2014
|
* Copyright MariaDB Corporation Ab 2013-2014
|
||||||
*/
|
*/
|
||||||
#include <my_config.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Reference in New Issue
Block a user