summaryrefslogtreecommitdiff
path: root/other/analysis
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-12 11:35:01 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-08-12 14:09:59 +0000
commitd92c96e7832ae4c7f9c32eec0d2f7f661a65b73e (patch)
treef7577121b3463ad094493fbb0cf3601fbcb0f9dc /other/analysis
parentf0f456398da65fc36837c0ab66b983a69b6f9e3e (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.sh1
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
43put auto_tests/check_compat.h 43put auto_tests/check_compat.h
44 44
45FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'" 45FIND_QUERY="find . '-(' -name '*.cc' -or -name '*.c' '-)'"
46FIND_QUERY="$FIND_QUERY -and -not -wholename './_build/*'"
46FIND_QUERY="$FIND_QUERY -and -not -wholename './super_donators/*'" 47FIND_QUERY="$FIND_QUERY -and -not -wholename './super_donators/*'"
47FIND_QUERY="$FIND_QUERY -and -not -wholename './toxav/*.cc'" 48FIND_QUERY="$FIND_QUERY -and -not -wholename './toxav/*.cc'"
48FIND_QUERY="$FIND_QUERY -and -not -wholename './toxcore/*.cc'" 49FIND_QUERY="$FIND_QUERY -and -not -wholename './toxcore/*.cc'"