]> sourceware.org Git - systemtap.git/commit
Fix uninitialized shdr in probe_table
authorJosh Stone <jistone@redhat.com>
Thu, 4 Jun 2009 01:51:30 +0000 (18:51 -0700)
committerJosh Stone <jistone@redhat.com>
Thu, 4 Jun 2009 01:51:30 +0000 (18:51 -0700)
commit3d022fa9c6bdbca383dfc639d08d65287c708f56
treeb659a46be02f889c6895ed23ab65b9c27d49fa26
parent7a05f484bf0e95d41e4d52ecb8bc6052a2d1fcc3
Fix uninitialized shdr in probe_table

* tapsets.cxx (dwarf_builder::probe_table::probe_table): gcc 4.4
complains that shdr may be used uninitialized.  I added returns to
ensure that it's ok, but gcc still complains.  Set the thing to NULL
as well to silence the beast.
tapsets.cxx
This page took 0.029327 seconds and 5 git commands to generate.