mirror of
https://github.com/fumiama/simple-dict.git
synced 2026-06-12 22:40:50 +08:00
删除冗余变量
This commit is contained in:
1
server.c
1
server.c
@@ -131,7 +131,6 @@ int free_after_send(int accept_fd, char *data, size_t length) {
|
|||||||
int send_all(THREADTIMER *timer) {
|
int send_all(THREADTIMER *timer) {
|
||||||
int re = 1;
|
int re = 1;
|
||||||
FILE *fp = open_dict(LOCK_SH);
|
FILE *fp = open_dict(LOCK_SH);
|
||||||
size_t numbytes;
|
|
||||||
if(fp) {
|
if(fp) {
|
||||||
timer->fp = fp;
|
timer->fp = fp;
|
||||||
timer->is_open = 1;
|
timer->is_open = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user