Fix compilation errors/warning with gcc-5.4.0 (#137)
Warning are like this: error: ‘delimiter’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
This commit is contained in:
@ -941,9 +941,9 @@ serverRowCallback(RESULTSET *set, void *data)
|
||||
{
|
||||
int *rowno = (int *)data;
|
||||
int i = 0;
|
||||
char *stat, buf[20];
|
||||
RESULT_ROW *row;
|
||||
SERVER *server;
|
||||
char *stat = NULL, buf[20];
|
||||
RESULT_ROW *row = NULL;
|
||||
SERVER *server = NULL;
|
||||
|
||||
spinlock_acquire(&server_spin);
|
||||
server = allServers;
|
||||
|
||||
Reference in New Issue
Block a user