Bugzilla – Bug 133613
OpenPBS-2.3.16-611: two buglets
Last modified: 2006-02-07 15:21:30 UTC
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.
those warnings dont happen in factory anymore, which uses gcc 4.1 aswell.