OperaCake: fixes travis build errors

This commit is contained in:
Joshua Hill
2017-07-11 19:54:44 -04:00
parent 3ad2dc9d2a
commit 42924698c5

View File

@ -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 parse_u16_range(char* s, hackrf_oc_range* range) {
int result; int result = 0;
uint16_t port; uint16_t port = 0;
char *sep = strchr(s, ':'); char *sep = strchr(s, ':');
if (!sep) if (!sep)