Enable loading of session files without total probes defined
This commit is contained in:
parent
9cfc695ffe
commit
f476dd2d2b
|
@ -234,6 +234,8 @@ SR_API int sr_session_load(struct sr_context *ctx, const char *filename,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
total_channels = 0;
|
||||||
|
|
||||||
error = NULL;
|
error = NULL;
|
||||||
ret = SR_OK;
|
ret = SR_OK;
|
||||||
file_has_logic = FALSE;
|
file_has_logic = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue