Enable loading of session files without total probes defined

This commit is contained in:
Soeren Apel 2016-03-27 23:09:05 +02:00 committed by Uwe Hermann
parent 9cfc695ffe
commit f476dd2d2b
1 changed files with 2 additions and 0 deletions

View File

@ -234,6 +234,8 @@ SR_API int sr_session_load(struct sr_context *ctx, const char *filename,
return ret;
}
total_channels = 0;
error = NULL;
ret = SR_OK;
file_has_logic = FALSE;