From 42924698c569dc4129a83474a37e5e747744f2af Mon Sep 17 00:00:00 2001 From: Joshua Hill Date: Tue, 11 Jul 2017 19:54:44 -0400 Subject: [PATCH] OperaCake: fixes travis build errors --- host/hackrf-tools/src/hackrf_operacake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/hackrf-tools/src/hackrf_operacake.c b/host/hackrf-tools/src/hackrf_operacake.c index 93c686c9..ad06d39c 100644 --- a/host/hackrf-tools/src/hackrf_operacake.c +++ b/host/hackrf-tools/src/hackrf_operacake.c @@ -73,8 +73,8 @@ int parse_uint16(char* const s, uint16_t* const value) { } int parse_u16_range(char* s, hackrf_oc_range* range) { - int result; - uint16_t port; + int result = 0; + uint16_t port = 0; char *sep = strchr(s, ':'); if (!sep)