lecroy-xstream: Fix compiler warnings

This commit is contained in:
Soeren Apel 2017-02-25 17:49:19 +01:00 committed by Uwe Hermann
parent d0b913eac4
commit 7002e64a54
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ SR_PRIV int lecroy_xstream_state_get(struct sr_dev_inst *sdi)
if (sr_scpi_get_string(sdi->conn, "TRIG_SELECT?", &tmp_str) != SR_OK) if (sr_scpi_get_string(sdi->conn, "TRIG_SELECT?", &tmp_str) != SR_OK)
return SR_ERR; return SR_ERR;
key = tmpp = NULL;
tmp_str2 = tmp_str; tmp_str2 = tmp_str;
i = 0; i = 0;
while((p = strtok_r(tmp_str2, ",", &tmpp))) { while((p = strtok_r(tmp_str2, ",", &tmpp))) {