From cd9f4e12dee2cee08f1183c63e6ed7cc4680ad2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Thu, 30 Jan 2020 17:37:59 +0100 Subject: [PATCH] application: fix cables_issues_nb --- application.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/application.c b/application.c index 2c2f06d..3299a6e 100644 --- a/application.c +++ b/application.c @@ -471,9 +471,6 @@ static void cable_issues_nb(struct cable_t* cable) cable->connections = NULL; } cable->connections = (uint8_t (*)[2])usb_cables_test_connections(connectors, connectors_nb, true, false, &cable->connections_nb); - if (NULL == cable->connections || 0 == cable->connections_nb) { - return; - } // calculate score for cables uint16_t best_score = UINT16_MAX; // best cable score