fix the compile error in Ubuntu 16.04

This commit is contained in:
Lee Sukchan 2017-09-26 06:59:24 +00:00
parent d5e229f077
commit 94f3cb8fd0
1 changed files with 6 additions and 6 deletions

View File

@ -156,8 +156,8 @@ static void md_hook_cb_tree(enum fd_hook_type type, struct msg * msg, struct pee
break;
/* Not handled */
case HOOK_DATA_RECEIVED:
break;
default:
break;
}
CHECK_POSIX_DO( pthread_mutex_unlock(&mtx), );
@ -235,8 +235,8 @@ static void md_hook_cb_full(enum fd_hook_type type, struct msg * msg, struct pee
}
break;
/* Not handled */
case HOOK_DATA_RECEIVED:
break;
default:
break;
}
CHECK_POSIX_DO( pthread_mutex_unlock(&mtx), );
@ -314,8 +314,8 @@ static void md_hook_cb_compact(enum fd_hook_type type, struct msg * msg, struct
}
break;
/* Not handled */
case HOOK_DATA_RECEIVED:
break;
default:
break;
}
CHECK_POSIX_DO( pthread_mutex_unlock(&mtx), );