Commit 6fab7a04 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Fix initialisation of empty blc_array

parent 9ebb7c0d
......@@ -24,7 +24,7 @@
#include <signal.h> //raise
#include <stdio.h> //fopen
blc_array::blc_array():dims(NULL), dims_nb(0){}
blc_array::blc_array():type('NDEF'), format('NDEF'), dims(NULL), dims_nb(0), total_length(0){}
blc_array::blc_array(uint32_t type, uint32_t format, int dims_nb, int length0, ...){
va_list arguments;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment