]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-dmm/api.c
Fix a few "variable set but not used" compiler warnings.
[libsigrok.git] / src / hardware / brymen-dmm / api.c
index 54f15c5171c0e4d644b4cb2146eb00ec9e1e7f45..c9f63b16022ad24d5fe60411ff397588603ea3e4 100644 (file)
@@ -86,13 +86,11 @@ scan_cleanup:
 
 static GSList *scan(struct sr_dev_driver *di, GSList *options)
 {
-       struct drv_context *drvc;
        struct sr_config *src;
        GSList *devices, *l;
        const char *conn, *serialcomm;
 
        devices = NULL;
-       drvc = di->context;
 
        conn = serialcomm = NULL;
        for (l = options; l; l = l->next) {