aboutsummaryrefslogtreecommitdiff
path: root/src/server/collision/Maps/MapTree.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2013-10-08 20:38:42 +0200
committerjackpoz <giacomopoz@gmail.com>2013-10-08 20:38:42 +0200
commit6f63d430b089908c85446dbe9c2d0e2ab3acb591 (patch)
tree19b997b6b813194d110805c19f9aa4e90fbf23e8 /src/server/collision/Maps/MapTree.cpp
parentb1ed66b52dc63240d73e55cf43bc3e4c60e183ef (diff)
Tools/MeshExtractor: Fix uninitialized values
Fix uninitialized struct padding bytes written to output files. These bytes are actually ignored when loading these files, so the main point of this fix is to shut up the Valgrind log. Valgrind log: Syscall param write(buf) points to uninitialised byte(s) at : ??? (syscall-template.S:81) by : _IO_file_write@@GLIBC_2.2.5 (fileops.c:1270) by : new_do_write (fileops.c:546) by : _IO_do_write@@GLIBC_2.2.5 (fileops.c:519) by : _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1341) by : fwrite (iofwrite.c:43) by BuilderThread::svc() (ContinentBuilder.cpp:56) by : ACE_Task_Base::svc_run(void*) (in /usr/lib/libACE-6.0.3.so) by : ACE_Thread_Adapter::invoke_i() (in /usr/lib/libACE-6.0.3.so) by : ACE_Thread_Adapter::invoke() (in /usr/lib/libACE-6.0.3.so) by : start_thread (pthread_create.c:311) by : clone (clone.S:113) Address 0x4039011 is not stack'd, malloc'd or (recently) free'd Uninitialised value was created by a stack allocation at: BuilderThread::svc() (ContinentBuilder.cpp:30)
Diffstat (limited to 'src/server/collision/Maps/MapTree.cpp')
0 files changed, 0 insertions, 0 deletions