diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-07-17 18:52:04 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-07-17 18:52:04 -0400 |
commit | f07e3b8084059250fc2546677f25c9bc3d850d75 (patch) | |
tree | 1306e6970f462bbf049352dd37295c8787fe9a26 /runtime/sym.c | |
parent | 8b88e7710d8a0f6ddfa4bb6523e5f1fe8d6576ff (diff) | |
download | systemtap-steved-f07e3b8084059250fc2546677f25c9bc3d850d75.tar.gz systemtap-steved-f07e3b8084059250fc2546677f25c9bc3d850d75.tar.xz systemtap-steved-f07e3b8084059250fc2546677f25c9bc3d850d75.zip |
PR6961: gcc warning tweak
* sym.c (_stp_usymbol_print): Ditto.
Diffstat (limited to 'runtime/sym.c')
-rw-r--r-- | runtime/sym.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/sym.c b/runtime/sym.c index 5e5ed7b8..35fb3cb0 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -335,9 +335,10 @@ static void _stp_symbol_print(unsigned long address) static void _stp_usymbol_print(unsigned long address, struct task_struct *task) { - const char *modname; - const char *name; - unsigned long offset, size; + const char *modname = 0; + const char *name = 0; + unsigned long offset = 0; + unsigned long size = 0; name = _stp_kallsyms_lookup(address, &size, &offset, &modname, NULL, task); |