[torquedev] make distcheck
Brett Pemberton
brett at vpac.org
Thu Jul 15 23:50:25 MDT 2010
----- "Garrick Staples" <garrick at usc.edu> wrote:
> Bump.
>
> We need 'make distcheck' run on every possible linux distro and
> platform.
>
Failed for me on SLES9, until I applied this patch:
--- src/server/stat_job.c.bak 2010-07-16 15:43:38.638700872 +1000
+++ src/server/stat_job.c 2010-07-16 15:43:49.291787044 +1000
@@ -299,7 +299,7 @@
resource *pres;
int found = 0;
- unsigned long remaining;
+ unsigned long remaining = 0;
unsigned long upperBound;
if (((pattr + JOB_ATR_resource)->at_val.at_list.ll_next != NULL) &&
Just to quiet a warning.
There is a check to make sure that variable is assigned before use, but gcc doesn't notice that.
cheers,
/ Brett
--
Brett Pemberton - VPAC HPC Team Leader
http://www.vpac.org/ - (03) 9925 4899
More information about the torquedev
mailing list