diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-05-28 11:51:35 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-05-28 12:53:36 +0200 |
commit | 1bee8b3d288bc2c26432b8e675b18e482a98255e (patch) | |
tree | 0535f99d4b4cc640b1945f779cf50acc8e90a400 /src/lib/cacep.c | |
parent | d537083d00facc5f0b53b5a7ffaa417786bdfc1f (diff) | |
download | ouroboros-1bee8b3d288bc2c26432b8e675b18e482a98255e.tar.gz ouroboros-1bee8b3d288bc2c26432b8e675b18e482a98255e.zip |
build: Check for variable length arrays
The clang and gcc compilers don't complain about variable length
arrays using the -c89 flag unless the flag -Wvla or -Wpedantic is
set. This also fixes a memleak and two false positive uninitialized
variable warnings reported by the clang static analyzer in graph.c.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/cacep.c')
0 files changed, 0 insertions, 0 deletions