]> sourceware.org Git - systemtap.git/commit
Fix uninitialized shdr in probe_table
authorJosh Stone <jistone@redhat.com>
Tue, 9 Jun 2009 15:54:59 +0000 (08:54 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 9 Jun 2009 15:55:11 +0000 (08:55 -0700)
commit5e8208c0c3012c3f2b0215385c2b02422c2e4769
tree33e3445fe6f6de93c2a9a876e5ba6dd50aa165b8
parentad002306b50c6cc3c3601fac31dfe3ecf23749fb
Fix uninitialized shdr in probe_table

(redo commit 3d022fa9c6bdbca383dfc639d08d65287c708f56)

* 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.028025 seconds and 5 git commands to generate.