From ab0f16099bc0c4bc478432b04f6ede14b2e79b11 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Tue, 13 Aug 2019 21:37:10 +0200 Subject: [PATCH] paasify gcc regarding supposedly possibly undefined adap (can actually never happen) --- ddbridge/ddbridge-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddbridge/ddbridge-core.c b/ddbridge/ddbridge-core.c index d04e286..1a057ba 100644 --- a/ddbridge/ddbridge-core.c +++ b/ddbridge/ddbridge-core.c @@ -1563,7 +1563,7 @@ static int dvb_register_adapters(struct ddb *dev) { int i, ret = 0, l = 0; struct ddb_port *port; - struct dvb_adapter *adap; + struct dvb_adapter *adap = 0; if (adapter_alloc == 4) { for (i = 0; i < dev->port_num; i++) {