From 8e3c52b11d5d0843be47f41e00c5612ce29811b0 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 23 Apr 2019 23:59:04 +0200 Subject: executor: fix compiler warning --- executor/common_usb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'executor/common_usb.h') diff --git a/executor/common_usb.h b/executor/common_usb.h index a9b5f54b8..d0cf5dab9 100644 --- a/executor/common_usb.h +++ b/executor/common_usb.h @@ -269,7 +269,7 @@ static volatile long syz_usb_connect(volatile long a0, volatile long a1, volatil debug("syz_usb_connect: bRequestType: 0x%x, bRequest: 0x%x, wValue: 0x%x, wIndex: 0x%x, wLength: %d\n", event.ctrl.bRequestType, event.ctrl.bRequest, event.ctrl.wValue, event.ctrl.wIndex, event.ctrl.wLength); - bool response_found; + bool response_found = false; char* response_data = NULL; uint32 response_length = 0; NONFAILING(response_found = lookup_connect_response(descs, &index, &event.ctrl, &response_data, &response_length, &done)); @@ -416,7 +416,7 @@ static volatile long syz_usb_control_io(volatile long a0, volatile long a1, vola debug("syz_usb_control_io: bRequestType: 0x%x, bRequest: 0x%x, wValue: 0x%x, wIndex: 0x%x, wLength: %d\n", event.ctrl.bRequestType, event.ctrl.bRequest, event.ctrl.wValue, event.ctrl.wIndex, event.ctrl.wLength); - bool response_found; + bool response_found = false; char* response_data = NULL; uint32 response_length = 0; NONFAILING(response_found = lookup_control_io_response(descs, resps, &event.ctrl, &response_data, &response_length)); -- cgit mrf-deployment