This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] Fix uninitialized variable warning in __stp_call_mmap_callbacks_with_addr
- From: Mark Wielaard <mjw at redhat dot com>
- To: Wade Farnsworth <wade_farnsworth at mentor dot com>
- Cc: systemtap at sourceware dot org
- Date: Fri, 04 Nov 2011 11:04:16 +0100
- Subject: Re: [PATCH] Fix uninitialized variable warning in __stp_call_mmap_callbacks_with_addr
- References: <4EB2D912.7060403@mentor.com>
On Thu, 2011-11-03 at 11:10 -0700, Wade Farnsworth wrote:
> When compiling a tapset, gcc complains that dentry may be used uninitialized in
> this function. Initialize it to NULL to prevent this.
Thanks, applied.