diff options
author | Thomas White <taw@physics.org> | 2019-03-08 18:43:04 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-14 11:36:56 +0100 |
commit | de09b82310f7b464e4095d1b750d9b968c84b6ed (patch) | |
tree | b41fbb70c87e4563680babf966fa89ff96097d00 /src/im-sandbox.c | |
parent | 9e1b43f729bf8ba8a6945c5fac67a8796226e2a0 (diff) |
Fix variable initialisation and decision about data source
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 9c00ad0c..20bd6c94 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -371,7 +371,7 @@ static int run_work(const struct index_args *iargs, Stream *st, { int allDone = 0; TimeAccounts *taccs; - struct im_zmq *zmqstuff; + struct im_zmq *zmqstuff = NULL; /* Connect via ZMQ */ if ( sb->zmq ) { @@ -453,6 +453,7 @@ static int run_work(const struct index_args *iargs, Stream *st, } else { pargs.msgpack_obj = im_zmq_fetch(zmqstuff); + pargs.filename_p_e = NULL; } |