diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-12 11:35:01 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-12 14:09:59 +0000 |
commit | d92c96e7832ae4c7f9c32eec0d2f7f661a65b73e (patch) | |
tree | f7577121b3463ad094493fbb0cf3601fbcb0f9dc /other/analysis | |
parent | f0f456398da65fc36837c0ab66b983a69b6f9e3e (diff) |
Fix a few warnings from clang.
Also remove the use of a VLA in a context where there can be unbounded
memory allocations.
Diffstat (limited to 'other/analysis')
-rw-r--r-- | other/analysis/gen-file.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/other/analysis/gen-file.sh b/other/analysis/gen-file.sh index 8c320acf..019bd8f9 100644 --- a/other/analysis/gen-file.sh +++ b/other/analysis/gen-file.sh | |||
@@ -43,6 +43,7 @@ echo "#include <random>" >> amalgamation.cc | |||
43 | put auto_tests/check_compat.h | 43 | put auto_tests/check_compat.h |
44 | 44 | ||
45 | FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'" | 45 | FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'" |
46 | FIND_QUERY="$FIND_QUERY -and -not -wholename './_build/*'" | ||
46 | FIND_QUERY="$FIND_QUERY -and -not -wholename './super_donators/*'" | 47 | FIND_QUERY="$FIND_QUERY -and -not -wholename './super_donators/*'" |
47 | FIND_QUERY="$FIND_QUERY -and -not -wholename './toxav/*.cc'" | 48 | FIND_QUERY="$FIND_QUERY -and -not -wholename './toxav/*.cc'" |
48 | FIND_QUERY="$FIND_QUERY -and -not -wholename './toxcore/*.cc'" | 49 | FIND_QUERY="$FIND_QUERY -and -not -wholename './toxcore/*.cc'" |