|
Bugzilla – Full Text Bug Listing |
| Summary: | OpenPBS-2.3.16-611: two buglets | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | David Binderman <dcb314> |
| Component: | Basesystem | Assignee: | Marcus Rückert <mrueckert> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
those warnings dont happen in factory anymore, which uses gcc 4.1 aswell. |
I just tried to compile package OpenPBS-2.3.16-611 with a prerelease of the GNU C compiler version 4.1 It said 1. accounting.c:361: warning: "pblen" is used uninitialized in this function The source code is pbs_strncat(pb, lilbuff, pblen); I have checked the source code, and I agree with the compiler. Suggest initialise local variable "pblen" before first use. 2. mom_comm.c:2997: warning: "reply" is used uninitialized in this function The source code is if (reply) { I've had a look at the source code, and I'm not sure that the compiler is correct. Suggest initialise local variable "reply" at it's declaration to shut up the compiler.