From: Uwe Hermann Date: Fri, 28 Dec 2012 16:16:19 +0000 (+0100) Subject: Fix compiler warning. X-Git-Tag: libsigrokdecode-0.1.1~14 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2218c267081268865fc90ee607c4c6ced541bfed;p=libsigrokdecode.git Fix compiler warning. --- diff --git a/controller.c b/controller.c index 995ddd7..2803c6f 100644 --- a/controller.c +++ b/controller.c @@ -733,6 +733,8 @@ SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate) struct srd_decoder_inst *di; int ret; + ret = SRD_OK; + srd_dbg("Calling start() on all instances with %d probes, " "unitsize %d samplerate %d.", num_probes, unitsize, samplerate);