orcarray: Fix compiler warning with gcc 4.9
authorSebastian Dröge <sebastian@centricular.com>
Mon, 14 Apr 2014 19:53:40 +0000 (21:53 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 14 Apr 2014 19:53:40 +0000 (21:53 +0200)
commit5e9c4ec97324f27b1b23cd118325f4cfa1db6d73
treeea9f4f946c46662c89eb66e6596325c428cb27f3
parent6ba1214f371c56c9c6b0b319d8abccafc3d3f953
orcarray: Fix compiler warning with gcc 4.9

In file included from ../orc/orcprogram.h:5:0,
                 from ../orc/orc.h:5,
                 from ../orc-test/orctest.h:5,
                 from orcarray.c:6:
../orc/orcutils.h:124:37: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized]
 #define ORC_PTR_OFFSET(ptr,offset) ((void *)(((unsigned char *)(ptr)) + (offset)))
                                     ^
orcarray.c:42:9: note: 'data' was declared here
   void *data;
orc-test/orcarray.c