[Bug runtime/17395] New: util.cxx:1120: bad switch statement ?
dcb314 at hotmail dot com
sourceware-bugzilla@sourceware.org
Mon Sep 15 19:21:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=17395
Bug ID: 17395
Summary: util.cxx:1120: bad switch statement ?
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: dcb314 at hotmail dot com
[util.cxx:1120] -> [util.cxx:1122]: (warning) Variable 'err_msg' is reassigned
a value before the old one has been used. 'break;' missing?
switch (errno) // ignore EINVAL: invalid signal
{
case ESRCH:
err_msg = "pid given does not correspond to a running process";
case EPERM:
err_msg = "invalid permissions for signalling given pid";
default:
err_msg = "invalid pid";
}
Basic coding error. Suggest add break statements.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list