use replace 0 with NULL for pointers, set some functions static

also fixed own errors in recent static check commit.
This commit is contained in:
2011-09-16 08:20:21 +00:00
parent 0849eaebbf
commit 2222f536f8
24 changed files with 58 additions and 52 deletions

View File

@@ -23,6 +23,11 @@
# <pep8 compliant>
import project_source_info
import subprocess
import sys
import os
CHECKER_IGNORE_PREFIX = [
"extern",
"intern/moto",
@@ -31,15 +36,11 @@ CHECKER_IGNORE_PREFIX = [
CHECKER_BIN = "cppcheck"
CHECKER_ARGS = [
"-I/dsk/data/src/blender/blender/extern/glew/include",
"-I" + os.join(project_source_info.SORCE_DIR, "blender/extern/glew/include"),
# "--check-config", # when includes are missing
# "--enable=all", # if you want sixty hundred pedantic suggestions
]
import project_source_info
import subprocess
import sys
def main():
source_info = project_source_info.build_info(ignore_prefix_list=CHECKER_IGNORE_PREFIX)