|
From: Henri A. <has...@us...> - 2004-10-28 17:22:18
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1454 Modified Files: strings.c Log Message: Fix of 'statement with no effect' fix. Index: strings.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/strings.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** strings.c 28 Oct 2004 01:51:26 -0000 1.3 --- strings.c 28 Oct 2004 17:22:04 -0000 1.4 *************** *** 1962,1966 **** if ((number < -32768) || (number > 32767)) { ! if (memtodisklong (number)) { }; /* hra 10/27/04: bypass 'statement with no effect' warning */ bytestohexstring (&number, sizeof (long), bshex); --- 1962,1966 ---- if ((number < -32768) || (number > 32767)) { ! memtodisklong (number); bytestohexstring (&number, sizeof (long), bshex); *************** *** 1971,1975 **** short x = number; ! if (memtodiskshort (x)) { }; /* hra 10/27/04: bypass 'statement with no effect' warning */ bytestohexstring (&x, sizeof (short), bshex); --- 1971,1975 ---- short x = number; ! memtodiskshort (x); bytestohexstring (&x, sizeof (short), bshex); |