- fixed statements throwing unused-value warning

SKIPPED:
	psi/buffer.c
This commit is contained in:
zolliker
2009-02-27 07:57:33 +00:00
parent 19bf8c57d6
commit 76694b409d
4 changed files with 9 additions and 9 deletions

View File

@ -191,7 +191,7 @@ int calculateCOG(int *iData, int xsize, int ysize,
iPtr = iData + y * xsize;
for (x = xLow; x < xMax; x++) {
if (iPtr[x] > threshold) {
*nCount++;
(void)*nCount++;
cogTotal += iPtr[x];
cogY += y * iPtr[x];
cogX += x * iPtr[x];