]> sigrok.org Git - libsigrokdecode.git/commitdiff
Fix compiler warning.
authorUwe Hermann <redacted>
Fri, 28 Dec 2012 16:16:19 +0000 (17:16 +0100)
committerUwe Hermann <redacted>
Fri, 28 Dec 2012 16:16:19 +0000 (17:16 +0100)
controller.c

index 995ddd7f13667302a2c7cc271829aafb2148d9cb..2803c6f98f62055af042cf3ea17547e348421e99 100644 (file)
@@ -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);