correct tests compile error and warning
parent
0ed5b405d9
commit
3f15be8d92
|
|
@ -127,7 +127,7 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
allocator.exceed_log_level = LOG_NOTHING;
|
allocator.alloc_elements.exceed_log_level = LOG_NOTHING;
|
||||||
|
|
||||||
if ((result=init_pthread_lock(&lock)) != 0) {
|
if ((result=init_pthread_lock(&lock)) != 0) {
|
||||||
return result;
|
return result;
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ int main(int argc, char *argv[])
|
||||||
int fd;
|
int fd;
|
||||||
int result;
|
int result;
|
||||||
int sleep_seconds;
|
int sleep_seconds;
|
||||||
int n;
|
int n = 0;
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
struct flock lock;
|
struct flock lock;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue