uint64_t input_len;
struct sr_dev_driver *driver;
+ /* Avoid warnings when building without decoder support. */
+ (void)session;
+ (void)input_len;
+
driver = sr_dev_inst_driver_get(sdi);
/* If the first packet to come in isn't a header, don't even try. */
printf(" - SCPI backends: %s.\n", str);
g_free(str);
+#ifdef HAVE_SRD
printf("- libsigrokdecode %s/%s (rt: %s/%s).\n",
SRD_PACKAGE_VERSION_STRING, SRD_LIB_VERSION_STRING,
srd_package_version_string_get(), srd_lib_version_string_get());
str = srd_buildinfo_host_get();
printf(" - Host: %s.\n", str);
g_free(str);
+#endif
}
void show_supported(void)