fix device-specific options setting
[sigrok-cli.git] / sigrok-cli.c
index 16e0bee10becd77baa00a08c68853c6b127afb0d..488edc9d4b3d3ff080a77f5577e3c0771c51175d 100644 (file)
@@ -1288,8 +1288,6 @@ static int set_dev_options(struct sr_dev_inst *sdi, GHashTable *args)
                        g_critical("Failed to set device option '%s'.", (char *)key);
                        return ret;
                }
-               else
-                       break;
        }
 
        return SR_OK;