[ros-diffs] [dgorbachev] 39391: - Remove extra semicolons. Amine Khaldi, bug #3980. - Fix a warning (bug) in ADNS library.

dgorbachev at svn.reactos.org dgorbachev at svn.reactos.org
Wed Feb 4 17:26:03 CET 2009


Author: dgorbachev
Date: Wed Feb  4 10:26:02 2009
New Revision: 39391

URL: http://svn.reactos.org/svn/reactos?rev=39391&view=rev
Log:
- Remove extra semicolons. Amine Khaldi, bug #3980.
- Fix a warning (bug) in ADNS library.

Modified:
    trunk/reactos/base/applications/mstsc/ssl_calls.c
    trunk/reactos/base/services/tcpsvcs/chargen.c
    trunk/reactos/base/setup/usetup/interface/devinst.c
    trunk/reactos/base/setup/usetup/interface/usetup.c
    trunk/reactos/base/system/winlogon/wlx.c
    trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c
    trunk/reactos/dll/3rdparty/freetype/src/sfnt/ttcmap.c
    trunk/reactos/dll/3rdparty/mesa32/src/main/texformat_tmp.h
    trunk/reactos/dll/3rdparty/mesa32/src/math/m_debug_norm.c
    trunk/reactos/dll/win32/gdi32/objects/dc.c
    trunk/reactos/dll/win32/glu32/libnurbs/internals/bufpool.h
    trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c
    trunk/reactos/drivers/usb/nt4compat/usbdriver/hub.c
    trunk/reactos/lib/3rdparty/adns/src/setup.c
    trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/callcoll.c
    trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ccaltst.c
    trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cnumtst.c
    trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/crestst.c
    trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cstrtest.c
    trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/nccbtst.c
    trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ncnvtst.c
    trunk/reactos/lib/3rdparty/libxml2/xmlreader.c
    trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c
    trunk/reactos/ntoskrnl/kd/kdinit.c
    trunk/reactos/tools/wrc/parser.tab.c

Modified: trunk/reactos/base/applications/mstsc/ssl_calls.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mstsc/ssl_calls.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/base/applications/mstsc/ssl_calls.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mstsc/ssl_calls.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -61,7 +61,7 @@
 void* APP_CC
 ssl_rc4_info_create(void)
 {
-  return g_malloc(sizeof(struct rc4_state), 1);;
+  return g_malloc(sizeof(struct rc4_state), 1);
 }
 
 /*****************************************************************************/

Modified: trunk/reactos/base/services/tcpsvcs/chargen.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/chargen.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/chargen.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/chargen.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -44,7 +44,7 @@
         LogEvent(L"Chargen: unknown error\n", WSAGetLastError(), 0, LOG_ERROR);
     }
 
-    return bRet;;
+    return bRet;
 }
 
 static BOOL

Modified: trunk/reactos/base/setup/usetup/interface/devinst.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interface/devinst.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/devinst.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/devinst.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -81,7 +81,7 @@
     RtlCopyMemory(FullImagePath, PathPrefix.Buffer, PathPrefix.MaximumLength);
     wcscat(FullImagePath, ImagePath);
 
-    DPRINT1("Using driver '%S' for device '%S'\n", ImagePath, DeviceId);;
+    DPRINT1("Using driver '%S' for device '%S'\n", ImagePath, DeviceId);
 
     /* Create service key */
     RtlInitUnicodeString(&StringU, Driver);

Modified: trunk/reactos/base/setup/usetup/interface/usetup.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interface/usetup.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -3428,7 +3428,7 @@
             }
             else if (Line == 14)
             {
-                return SUCCESS_PAGE;;
+                return SUCCESS_PAGE;
             }
 
             return BOOT_LOADER_PAGE;

Modified: trunk/reactos/base/system/winlogon/wlx.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/wlx.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/base/system/winlogon/wlx.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/wlx.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -39,7 +39,7 @@
 	else if (uMsg == WM_INITDIALOG)
 	{
 		IdTimer = SetTimer(hwndDlg, 0, WLSession->DialogTimeout * 1000, NULL);
-		return PreviousWindowProc(hwndDlg, uMsg, wParam, lParam);;
+		return PreviousWindowProc(hwndDlg, uMsg, wParam, lParam);
 	}
 	else if (uMsg == WM_NCDESTROY)
 	{

Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -715,7 +715,7 @@
 	else
 	{
 		// we have to construct ImagePath ourselves
-		PathLength = wcslen(ServiceName)*sizeof(WCHAR) + sizeof(L"system32\\drivers\\.sys");;
+		PathLength = wcslen(ServiceName)*sizeof(WCHAR) + sizeof(L"system32\\drivers\\.sys");
 		BootDriverEntry->FilePath.Length = 0;
 		BootDriverEntry->FilePath.MaximumLength = PathLength+sizeof(WCHAR);
 		BootDriverEntry->FilePath.Buffer = MmHeapAlloc(PathLength);

Modified: trunk/reactos/dll/3rdparty/freetype/src/sfnt/ttcmap.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/freetype/src/sfnt/ttcmap.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/dll/3rdparty/freetype/src/sfnt/ttcmap.c [iso-8859-1] (original)
+++ trunk/reactos/dll/3rdparty/freetype/src/sfnt/ttcmap.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -2039,7 +2039,7 @@
 
         if ( gindex )
         {
-          cmap->cur_charcode = char_code;;
+          cmap->cur_charcode = char_code;
           cmap->cur_gindex   = gindex;
           cmap->cur_group    = n;
 

Modified: trunk/reactos/dll/3rdparty/mesa32/src/main/texformat_tmp.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/mesa32/src/main/texformat_tmp.h?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/dll/3rdparty/mesa32/src/main/texformat_tmp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/3rdparty/mesa32/src/main/texformat_tmp.h [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -1131,7 +1131,7 @@
          texelUB[GCOMP] =
          texelUB[BCOMP] = 0;
          texelUB[ACOMP] = table[index];
-         break;;
+         break;
       case GL_LUMINANCE:
          texelUB[RCOMP] =
          texelUB[GCOMP] =
@@ -1143,25 +1143,25 @@
          texelUB[GCOMP] =
          texelUB[BCOMP] =
          texelUB[ACOMP] = table[index];
-         break;;
+         break;
       case GL_LUMINANCE_ALPHA:
          texelUB[RCOMP] =
          texelUB[GCOMP] =
          texelUB[BCOMP] = table[index * 2 + 0];
          texelUB[ACOMP] = table[index * 2 + 1];
-         break;;
+         break;
       case GL_RGB:
          texelUB[RCOMP] = table[index * 3 + 0];
          texelUB[GCOMP] = table[index * 3 + 1];
          texelUB[BCOMP] = table[index * 3 + 2];
          texelUB[ACOMP] = 255;
-         break;;
+         break;
       case GL_RGBA:
          texelUB[RCOMP] = table[index * 4 + 0];
          texelUB[GCOMP] = table[index * 4 + 1];
          texelUB[BCOMP] = table[index * 4 + 2];
          texelUB[ACOMP] = table[index * 4 + 3];
-         break;;
+         break;
       default:
          _mesa_problem(ctx, "Bad palette format in fetch_texel_ci8");
          return;

Modified: trunk/reactos/dll/3rdparty/mesa32/src/math/m_debug_norm.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/mesa32/src/math/m_debug_norm.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/dll/3rdparty/mesa32/src/math/m_debug_norm.c [iso-8859-1] (original)
+++ trunk/reactos/dll/3rdparty/mesa32/src/math/m_debug_norm.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -171,7 +171,7 @@
             out[i][0] = out[i][1] = out[i][2] = 0;
          }
       } else {
-         scale = lengths[i];;
+         scale = lengths[i];
 	 SCALE_SCALAR_3V( out[i], scale, t );
       }
 

Modified: trunk/reactos/dll/win32/gdi32/objects/dc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/dc.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/dc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/dc.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -815,7 +815,7 @@
   DWORD dwType;
   INT Result = 0;
 
-  dwType = GDI_HANDLE_GET_TYPE(hGdiObj);;
+  dwType = GDI_HANDLE_GET_TYPE(hGdiObj);
 
   if(dwType == GDI_OBJECT_TYPE_COLORSPACE) //Stays here, processes struct A
   {

Modified: trunk/reactos/dll/win32/glu32/libnurbs/internals/bufpool.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/glu32/libnurbs/internals/bufpool.h?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/dll/win32/glu32/libnurbs/internals/bufpool.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/glu32/libnurbs/internals/bufpool.h [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -115,7 +115,7 @@
     } else {
     	if( ! nextfree )
     	    grow( );
-    	nextfree -= buffersize;;
+    	nextfree -= buffersize;
     	buffer = (void *) (curblock + nextfree);
     }
     return buffer;

Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -845,7 +845,7 @@
     PUSB_CTRL_SETUP_PACKET psetup;
     PHCD hcd;
 
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     if (purb == NULL)
         return;
@@ -1033,7 +1033,7 @@
     PUSB_EVENT pevent;
     BOOLEAN bret;
 
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     if (pdev == NULL)
         return FALSE;

Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/hub.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbdriver/hub.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/hub.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/hub.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -1294,7 +1294,7 @@
     ULONG port_idx;
     PHCD hcd;
 
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
     if (purb == NULL)
         return;
 
@@ -1460,7 +1460,7 @@
     PUSB_CTRL_SETUP_PACKET psetup;
     NTSTATUS status;
     PHCD hcd;
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     if (pdev == NULL || port_idx == 0)
         return STATUS_INVALID_PARAMETER;
@@ -1589,7 +1589,7 @@
     PUSB_CTRL_SETUP_PACKET psetup;
     PHCD hcd = NULL;
 
-    USE_NON_PENDING_IRQL;;
+    USE_NON_PENDING_IRQL;
 
     if (dev_mgr == NULL)
         return FALSE;
@@ -1736,7 +1736,7 @@
     PUSB_CTRL_SETUP_PACKET psetup;
     ULONG status;
 
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     //let's check whether the status change is a reset complete
     usb_dbg_print(DBGLVL_MAXIMUM, ("hub_check_reset_port_status(): entering...\n"));
@@ -1870,7 +1870,7 @@
     PHUB2_EXTENSION hub_ext;
     PUSB_DEV_MANAGER dev_mgr;
 
-    USE_NON_PENDING_IRQL;;
+    USE_NON_PENDING_IRQL;
 
     if (hub_dev == NULL || port_idx == 0)
         return;
@@ -2031,7 +2031,7 @@
     PUSB_INTERFACE pif;
     BOOLEAN high_speed, multiple_tt;
     NTSTATUS status;
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     if (purb == NULL || pcontext == NULL)
         return;
@@ -2209,7 +2209,7 @@
     PURB purb;
     PHCD hcd;
 
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
     if (pdev == NULL || port_idx == 0)
         return STATUS_INVALID_PARAMETER;
 
@@ -2270,7 +2270,7 @@
     PUSB_DRIVER pdriver;
     DEV_HANDLE dev_handle;
 
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     if (purb == NULL)
     {
@@ -2388,7 +2388,7 @@
     PHUB2_EXTENSION dev_ext;
     PULONG pmap = NULL;
 
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     if (pdev == NULL || port_idx > 127)
         return FALSE;
@@ -2483,7 +2483,7 @@
     PHUB2_EXTENSION hub_ext;
     PHCD hcd;
     NTSTATUS status;
-    USE_BASIC_NON_PENDING_IRQL;;
+    USE_BASIC_NON_PENDING_IRQL;
 
     if (pdev == NULL)
         return FALSE;
@@ -2571,7 +2571,7 @@
 {
     PUSB_DEV_MANAGER dev_mgr;
     PUSB_EVENT pevent;
-    USE_NON_PENDING_IRQL;;
+    USE_NON_PENDING_IRQL;
 
     dev_mgr = dev_mgr_from_dev(pdev);
 
@@ -2688,7 +2688,7 @@
     PUSB_ENDPOINT pendp;
     PHCD hcd;
 
-    USE_NON_PENDING_IRQL;;
+    USE_NON_PENDING_IRQL;
 
     if (irp_list == NULL || pirp == NULL)
         return NULL;

Modified: trunk/reactos/lib/3rdparty/adns/src/setup.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/adns/src/setup.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/adns/src/setup.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/adns/src/setup.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -198,7 +198,7 @@
       }
     } else {
       baselocal= ntohl(base.s_addr);
-      if (!baselocal & 0x080000000UL) /* class A */
+      if (!(baselocal & 0x080000000UL)) /* class A */
 	mask.s_addr= htonl(0x0ff000000UL);
       else if ((baselocal & 0x0c0000000UL) == 0x080000000UL)
 	mask.s_addr= htonl(0x0ffff0000UL); /* class B */

Modified: trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/callcoll.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/callcoll.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/callcoll.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/callcoll.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -210,7 +210,7 @@
   UErrorCode status = U_ZERO_ERROR;
   UResourceBundle *ColEl = NULL;
 
-  UResourceBundle *loc = ures_open(U_ICUDATA_COLL, locName, &status);;
+  UResourceBundle *loc = ures_open(U_ICUDATA_COLL, locName, &status);
 
   if(U_SUCCESS(status)) {
     status = U_ZERO_ERROR;

Modified: trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ccaltst.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ccaltst.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ccaltst.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ccaltst.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -438,7 +438,7 @@
     log_verbose("\nTesting if the function ucal_setTimeZone() works fine\n");
     ucal_setMillis(caldef2, d2, &status); 
     if(U_FAILURE(status)){
-        log_err("Error in getMillis : %s\n", u_errorName(status));;
+        log_err("Error in getMillis : %s\n", u_errorName(status));
     }
     hour=ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status);
         
@@ -735,7 +735,7 @@
     tzID=(UChar*)malloc(sizeof(UChar) * 4);
     u_uastrcpy(tzID, "PST");
     /*open the calendar used */
-    cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);;
+    cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);
     if (U_FAILURE(status)) {
         log_err("ucal_open() failed : %s\n", u_errorName(status)); 
         return; 
@@ -895,7 +895,7 @@
     tzID=(UChar*)malloc(sizeof(UChar) * 4);
     u_uastrcpy(tzID, "PST");
     /*open the calendar used */
-    cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);;
+    cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);
     if (U_FAILURE(status)) {
         log_err("ucal_open() for gregorian calendar failed in TestGetLimits: %s\n", u_errorName(status));
         return; 
@@ -995,7 +995,7 @@
     tzID=(UChar*)malloc(sizeof(UChar) * 4);
     u_strcpy(tzID, fgGMTID);
     /*open the calendar used */
-    cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);;
+    cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
     if (U_FAILURE(status)) {
         log_err("ucal_open failed: %s\n", u_errorName(status));
         return; 
@@ -1071,7 +1071,7 @@
 
     tzID=(UChar*)malloc(sizeof(UChar) * 4);
     u_strcpy(tzID, fgGMTID);
-    gmtcal=ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status);;
+    gmtcal=ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status);
     if (U_FAILURE(status)) {
         log_err("ucal_open failed: %s\n", u_errorName(status)); 
         return; 

Modified: trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cnumtst.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cnumtst.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cnumtst.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cnumtst.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -416,7 +416,7 @@
     pattern=unum_open(UNUM_IGNORE,temp1, u_strlen(temp1), NULL, NULL,&status);
     if(U_FAILURE(status))
     {
-        log_err("error in unum_openPattern(): %s\n", myErrorName(status) );;
+        log_err("error in unum_openPattern(): %s\n", myErrorName(status) );
     }
     else
         log_verbose("Pass: unum_openPattern() works fine\n");
@@ -823,7 +823,7 @@
     pattern=unum_open(UNUM_IGNORE,temp1, u_strlen(temp1), NULL, NULL,&status);
     if(U_SUCCESS(status))
     {
-        log_err("error in unum_openPattern(%s): %s\n", temp1, myErrorName(status) );;
+        log_err("error in unum_openPattern(%s): %s\n", temp1, myErrorName(status) );
     }
     else
     {
@@ -836,7 +836,7 @@
     pattern=unum_open(UNUM_IGNORE,temp1, u_strlen(temp1), "en_US",NULL, &status);
     if(U_FAILURE(status))
     {
-        log_err("error in padding unum_openPattern(%s): %s\n", temp1, myErrorName(status) );;
+        log_err("error in padding unum_openPattern(%s): %s\n", temp1, myErrorName(status) );
     }
     else {
         log_verbose("Pass: padding unum_openPattern() works fine\n");

Modified: trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/crestst.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/crestst.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/crestst.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/crestst.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -527,7 +527,7 @@
     }
     ures_close(idna_rules);
 
-    errorCode = U_USING_FALLBACK_WARNING;;
+    errorCode = U_USING_FALLBACK_WARNING;
     idna_rules=ures_openDirect("testdata", "idna_rules", &errorCode);
     if(U_FAILURE(errorCode)) {
         log_err("ures_openDirect(\"idna_rules\") failed when U_USING_FALLBACK_WARNING was set prior to call: %s\n", u_errorName(errorCode));

Modified: trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cstrtest.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cstrtest.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cstrtest.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/cstrtest.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -115,10 +115,10 @@
         log_err("FAIL: T_CString_stricmp() where the second string is null failed. Expected: 1, returned %d\n", intValue);
     }
     if((intValue=T_CString_stricmp(NULL, NULL)) != 0){
-        log_err("FAIL: T_CString_stricmp(NULL, NULL) failed.  Expected:  0, returned %d\n", intValue);;
+        log_err("FAIL: T_CString_stricmp(NULL, NULL) failed.  Expected:  0, returned %d\n", intValue);
     }
     if((intValue=T_CString_stricmp("", "")) != 0){
-        log_err("FAIL: T_CString_stricmp(\"\", \"\") failed.  Expected:  0, returned %d\n", intValue);;
+        log_err("FAIL: T_CString_stricmp(\"\", \"\") failed.  Expected:  0, returned %d\n", intValue);
     }
     if((intValue=T_CString_stricmp("", "abc")) != -1){
         log_err("FAIL: T_CString_stricmp(\"\", \"abc\") failed.  Expected: -1, returned %d\n", intValue);
@@ -144,10 +144,10 @@
         log_err("FAIL: T_CString_strnicmp() where the second string is null failed. Expected: 1, returned %d\n", intValue);
     }
     if((intValue=T_CString_strnicmp(NULL, NULL, 10)) != 0){
-        log_err("FAIL: T_CString_strnicmp(NULL, NULL, 10) failed.  Expected:  0, returned %d\n", intValue);;
+        log_err("FAIL: T_CString_strnicmp(NULL, NULL, 10) failed.  Expected:  0, returned %d\n", intValue);
     }
     if((intValue=T_CString_strnicmp("", "", 10)) != 0){
-        log_err("FAIL: T_CString_strnicmp(\"\", \"\") failed.  Expected:  0, returned %d\n", intValue);;
+        log_err("FAIL: T_CString_strnicmp(\"\", \"\") failed.  Expected:  0, returned %d\n", intValue);
     }
     if((intValue=T_CString_strnicmp("", "abc", 10)) != -1){
         log_err("FAIL: T_CString_stricmp(\"\", \"abc\", 10) failed.  Expected: -1, returned %d\n", intValue);

Modified: trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/nccbtst.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/nccbtst.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/nccbtst.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/nccbtst.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -910,7 +910,7 @@
         if(!testConvertToUnicode(sampleText1, sizeof(sampleText1),
                  expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8",
                 UCNV_TO_U_CALLBACK_SKIP, offsets1, NULL, 0 ))
-            log_err("utf8->u with skip did not match.\n");;
+            log_err("utf8->u with skip did not match.\n");
     }
 
     log_verbose("Testing toUnicode for SCSU with UCNV_TO_U_CALLBACK_SKIP \n");
@@ -1326,7 +1326,7 @@
         if(!testConvertToUnicode(sampleText1, sizeof(sampleText1),
                  expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8",
                 UCNV_TO_U_CALLBACK_STOP, offsets1, NULL, 0 ))
-            log_err("utf8->u with stop did not match.\n");;
+            log_err("utf8->u with stop did not match.\n");
     }
     log_verbose("Testing toUnicode for SCSU with UCNV_TO_U_CALLBACK_STOP \n");
     {
@@ -1337,7 +1337,7 @@
         if(!testConvertToUnicode(sampleText1, sizeof(sampleText1),
                  expected1, sizeof(expected1)/sizeof(expected1[0]),"SCSU",
                 UCNV_TO_U_CALLBACK_STOP, offsets1, NULL, 0 ))
-            log_err("scsu->u with stop did not match.\n");;
+            log_err("scsu->u with stop did not match.\n");
     }
 
 }
@@ -1616,7 +1616,7 @@
         if(!testConvertToUnicode(sampleText1, sizeof(sampleText1),
                  expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8",
                 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1, NULL, 0 ))
-            log_err("utf8->u with substitute did not match.\n");;
+            log_err("utf8->u with substitute did not match.\n");
     }
     log_verbose("Testing toUnicode for SCSU with UCNV_TO_U_CALLBACK_SUBSTITUTE \n");
     {
@@ -1627,7 +1627,7 @@
         if(!testConvertToUnicode(sampleText1, sizeof(sampleText1),
                  expected1, sizeof(expected1)/sizeof(expected1[0]),"SCSU",
                 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1, NULL, 0 ))
-            log_err("scsu->u with stop did not match.\n");;
+            log_err("scsu->u with stop did not match.\n");
     }
 
 #if !UCONFIG_NO_LEGACY_CONVERSION

Modified: trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ncnvtst.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ncnvtst.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ncnvtst.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/icu4ros/icu/source/test/cintltst/ncnvtst.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -962,7 +962,7 @@
 
         if(!testConvertToU(sampleText1, sizeof(sampleText1),
                  expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE))
-            log_err("utf8->u with substitute did not match.\n");;
+            log_err("utf8->u with substitute did not match.\n");
     }
 
 #if !UCONFIG_NO_LEGACY_CONVERSION

Modified: trunk/reactos/lib/3rdparty/libxml2/xmlreader.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlreader.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/libxml2/xmlreader.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/libxml2/xmlreader.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -3905,7 +3905,7 @@
     }
     reader->preserves++;
         
-    parent = cur->parent;;
+    parent = cur->parent;
     while (parent != NULL) {
         if (parent->type == XML_ELEMENT_NODE)
 	    parent->extra |= NODE_IS_PRESERVED;

Modified: trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -20087,7 +20087,7 @@
 		WXS_BASIC_CAST ause, ause->node,
 		"ref", ref->name, ref->targetNamespace,
 		XML_SCHEMA_TYPE_ATTRIBUTE, NULL);
-            return(ctxt->err);;
+            return(ctxt->err);
         }
     }
     return(0);
@@ -28596,7 +28596,7 @@
 #endif
     pctxt->linenumbers = 1;
 
-    inputStream = xmlNewIOInputStream(pctxt, input, enc);;
+    inputStream = xmlNewIOInputStream(pctxt, input, enc);
     if (inputStream == NULL) {
         ret = -1;
 	goto done;

Modified: trunk/reactos/ntoskrnl/kd/kdinit.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kd/kdinit.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/kd/kdinit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kd/kdinit.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -24,7 +24,7 @@
 KD_PORT_INFORMATION PortInfo = {DEFAULT_DEBUG_PORT, DEFAULT_DEBUG_BAUD_RATE, 0};
 ULONG KdpPortIrq;
 #ifdef AUTO_ENABLE_BOCHS
-KDP_DEBUG_MODE KdpDebugMode = {{{.Bochs=TRUE}}};;
+KDP_DEBUG_MODE KdpDebugMode = {{{.Bochs=TRUE}}};
 #else
 KDP_DEBUG_MODE KdpDebugMode;
 #endif

Modified: trunk/reactos/tools/wrc/parser.tab.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/parser.tab.c?rev=39391&r1=39390&r2=39391&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/parser.tab.c [iso-8859-1] (original)
+++ trunk/reactos/tools/wrc/parser.tab.c [iso-8859-1] Wed Feb  4 10:26:02 2009
@@ -2782,7 +2782,7 @@
 
   case 81:
 #line 876 "parser.y"
-    { (yyval.ctl)=ins_ctrl(CT_BUTTON, BS_GROUPBOX, (yyvsp[0].ctl), (yyvsp[-2].ctl));;}
+    { (yyval.ctl)=ins_ctrl(CT_BUTTON, BS_GROUPBOX, (yyvsp[0].ctl), (yyvsp[-2].ctl));}
     break;
 
   case 82:
@@ -2982,7 +2982,7 @@
 
   case 104:
 #line 1008 "parser.y"
-    { (yyval.style) = new_style((yyvsp[-2].style)->or_mask | (yyvsp[0].style)->or_mask, (yyvsp[-2].style)->and_mask | (yyvsp[0].style)->and_mask); free((yyvsp[-2].style)); free((yyvsp[0].style));;}
+    { (yyval.style) = new_style((yyvsp[-2].style)->or_mask | (yyvsp[0].style)->or_mask, (yyvsp[-2].style)->and_mask | (yyvsp[0].style)->and_mask); free((yyvsp[-2].style)); free((yyvsp[0].style));}
     break;
 
   case 105:
@@ -3159,7 +3159,7 @@
 
   case 130:
 #line 1093 "parser.y"
-    { (yyval.ctl)=ins_ctrl(CT_BUTTON, BS_GROUPBOX, (yyvsp[0].ctl), (yyvsp[-2].ctl));;}
+    { (yyval.ctl)=ins_ctrl(CT_BUTTON, BS_GROUPBOX, (yyvsp[0].ctl), (yyvsp[-2].ctl));}
     break;
 
   case 131:
@@ -3381,7 +3381,7 @@
 
   case 154:
 #line 1253 "parser.y"
-    {(yyval.menitm) = NULL;;}
+    {(yyval.menitm) = NULL;}
     break;
 
   case 155:



More information about the Ros-diffs mailing list