summaryrefslogtreecommitdiff
path: root/app/src/sendpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/sendpath.c')
-rw-r--r--app/src/sendpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/sendpath.c b/app/src/sendpath.c
index 0b1f021..e8ca549 100644
--- a/app/src/sendpath.c
+++ b/app/src/sendpath.c
@@ -139,7 +139,7 @@ static int sendpath_route_option_get(struct mr_instance * instance, struct mr_se
static struct mr_sendpath * sendpath_route_create(struct mr_instance * instance, int type, va_list va_list)
{
- struct mr_vdev * target_vdev;
+ struct mr_vdev * target_vdev = NULL;
struct in_addr in_addr;
/* 对于一般的路由,传入目标地址 */