|
From: <kar...@us...> - 2006-04-06 02:44:26
|
Revision: 1215 Author: karstenw Date: 2006-04-05 19:44:20 -0700 (Wed, 05 Apr 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1215&view=rev Log Message: ----------- parameter unused & name conflict fixes Modified Paths: -------------- Frontier/trunk/Common/PCRE/pcre.c Frontier/trunk/Common/source/OpenTransportNetEvents.c Modified: Frontier/trunk/Common/PCRE/pcre.c =================================================================== --- Frontier/trunk/Common/PCRE/pcre.c 2006-04-06 01:43:43 UTC (rev 1214) +++ Frontier/trunk/Common/PCRE/pcre.c 2006-04-06 02:44:20 UTC (rev 1215) @@ -1715,22 +1715,31 @@ posix_class *= 3; for (i = 0; i < 3; i++) - { - BOOL isblank = strncmp((char *)ptr, "blank", 5) == 0; - int taboffset = posix_class_maps[posix_class + i]; - if (taboffset < 0) break; - if (local_negate) + { + BOOL lisblank = strncmp((char *)ptr, "blank", 5) == 0; + int taboffset = posix_class_maps[posix_class + i]; + + if (taboffset < 0) + break; + + if (local_negate) { - for (c = 0; c < 32; c++) class[c] |= ~cbits[c+taboffset]; - if (isblank) class[1] |= 0x3c; + for (c = 0; c < 32; c++) + class[c] |= ~cbits[c+taboffset]; + + if (lisblank) + class[1] |= 0x3c; } - else + else { - for (c = 0; c < 32; c++) class[c] |= cbits[c+taboffset]; - if (isblank) class[1] &= ~0x3c; + for (c = 0; c < 32; c++) + class[c] |= cbits[c+taboffset]; + + if (lisblank) + class[1] &= ~0x3c; } - } - + } + ptr = tempptr + 1; class_charcount = 10; /* Set > 1; assumes more than 1 per class */ continue; /* End of POSIX syntax handling */ Modified: Frontier/trunk/Common/source/OpenTransportNetEvents.c =================================================================== --- Frontier/trunk/Common/source/OpenTransportNetEvents.c 2006-04-06 01:43:43 UTC (rev 1214) +++ Frontier/trunk/Common/source/OpenTransportNetEvents.c 2006-04-06 02:44:20 UTC (rev 1215) @@ -2459,7 +2459,7 @@ }/*fwsbackgroundtask*/ -static boolean fwsNetEventLaunch (struct hostData *data) { +static boolean fwsNetEventLaunch (void *data) { #pragma unused (data) /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |