X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=srd.c;h=61280ef41d7f4f838472aa2f9ff98ec672305520;hb=64b354d6823a0b19333ee65e073e5d8169a44027;hp=9d04a8e1d110307a221420d40a533f16ae7f83d7;hpb=2060510aaafcc7eb27fac071334b4f8aa1f3cab2;p=libsigrokdecode.git diff --git a/srd.c b/srd.c index 9d04a8e..61280ef 100644 --- a/srd.c +++ b/srd.c @@ -261,14 +261,4 @@ SRD_PRIV int srd_decoder_searchpath_add(const char *path) return SRD_OK; } -/** @private */ -SRD_PRIV gboolean srd_check_init(void) -{ - if (max_session_id < 0) { - srd_err("Library is not initialized."); - return FALSE; - } else - return TRUE; -} - /** @} */