This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/12414] New: Missing return value is not reported
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Wed, 19 Jan 2011 16:28:52 +0000
- Subject: [Bug translator/12414] New: Missing return value is not reported
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12414
Summary: Missing return value is not reported
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: translator
AssignedTo: systemtap@sources.redhat.com
ReportedBy: jan.kratochvil@redhat.com
Despite all the sanity in the stap language a forgotten return statement is not
reported:
global v
function f ()
{
v++
}
probe begin
{
printf ("done: %d\n", f ())
}
->
done: 0
and no warning is given.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.