summaryrefslogtreecommitdiff
path: root/controller.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-12-28 17:16:19 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-12-28 17:16:19 +0100
commit2218c267081268865fc90ee607c4c6ced541bfed (patch)
treed92235c0e1dec58a36c346502b44d501959e10fb /controller.c
parent4bd77045bbad0aa6bdb8172d396a8cea7225c07e (diff)
downloadlibsigrokdecode-2218c267081268865fc90ee607c4c6ced541bfed.tar.gz
libsigrokdecode-2218c267081268865fc90ee607c4c6ced541bfed.zip
Fix compiler warning.
Diffstat (limited to 'controller.c')
-rw-r--r--controller.c2
1 files changed, 2 insertions, 0 deletions
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);