remove useless comments that clutter the code
Mike McCormack
mike at codeweavers.com
Thu Aug 21 10:08:33 CDT 2003
ChangeLog:
* remove useless comments that clutter the code
-------------- next part --------------
Index: dlls/shell32/shlfileop.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shlfileop.c,v
retrieving revision 1.30
diff -u -r1.30 shlfileop.c
--- dlls/shell32/shlfileop.c 8 Aug 2003 21:07:23 -0000 1.30
+++ dlls/shell32/shlfileop.c 21 Aug 2003 14:59:08 -0000
@@ -861,8 +861,8 @@
{
TRACE("%s level=%ld lpFileOp->fFlags=0x%x not fully implemented, stub\n",
debug_shfileops_action(FuncSwitch), level, OFl);
- } /* endif */
- } /* endif */
+ }
+ }
if ((pNextFrom) && (!(b_MultiTo) || (pNextTo)))
{
@@ -912,7 +912,7 @@
{
b_MultiPaired =
SHELL_FileNamesMatch(lpFileOp->pFrom, lpFileOp->pTo, (!b_Multi || b_MultiFrom));
- } /* endif */
+ }
if (!(b_MultiPaired) || !(pFromFile) || !(pFromFile[1]) || ((pTo) && !(pToFile)))
{
retCode = 0x402; /* 1026 */
@@ -963,12 +963,12 @@
{
/* FO_DELETE with mask and without found is valid */
goto shfileop_normal;
- } /* endif */
- } /* endif */
+ }
+ }
/* root (without mask) is also not allowed as source, tested in W98 */
retCode = 0x402; /* 1026 */
goto shfileop_error;
- } /* endif */
+ }
/* for all */
#define HIGH_ADR (LPWSTR)0xffffffff
@@ -1040,7 +1040,7 @@
{
retCode = (b_ToTailSlash) ? 0xb7 : 0x7b;
goto shfileop_error;
- } /* endif */
+ }
/* we use SHNotifyMoveFile() instead MoveFileW */
if (!SHNotifyMoveFileW(pTempFrom, pTempTo))
{
@@ -1144,7 +1144,7 @@
/* error, is this tested ? */
retCode = 0x777402;
goto shfileop_error;
- } /* endif */
+ }
}
/* singlesource + no mask */
@@ -1190,7 +1190,7 @@
/* we still need the value for the returncode, we assume 0x71 */
retCode = 0x71;
goto shfileop_error;
- } /* endif */
+ }
if (IsAttribDir((ToAttr & wfd.dwFileAttributes)))
{
if (IsAttribDir(ToAttr) || !SHCreateDirectoryExW(NULL,pTempTo, NULL))
@@ -1220,8 +1220,8 @@
goto shfileop_error;
}
}
- } /* end-switch */
- } /* end-while */
+ }
+ }
shfileop_normal:
if (!(nFileOp.fAnyOperationsAborted))
More information about the wine-patches
mailing list