Changeset 1880 for trunk/dll/worker.c


Ignore:
Timestamp:
Oct 12, 2015, 8:26:16 PM (10 years ago)
Author:
Gregg Young
Message:

Remove dead code and comments from remaining c files. #if 0 and #if NEVER were not addressed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/worker.c

    r1877 r1880  
    8383#define INCL_DOS
    8484#define INCL_DOSERRORS
    85 // #define INCL_WINPROGRAMLIST          // 13 Jul 09 SHL dropped
    86 // #define INCL_WINHELP                 // 13 Jul 09 SHL dropped
    8785#define INCL_LONGLONG
    8886#define INCL_WINPOINTERS                // WinSetFileIcon
    89 // #define INCL_WINWORKPLACE            // 13 Jul 09 SHL dropped
    9087#define INCL_WINSHELLDATA               // PrfQueryProfileData
    9188
     
    467464                            wk->li->list[x]);
    468465                    AddNote(message);
    469                     if (//fSyncUpdates ||
    470                         AddToList(outname, &files, &cFilesModified, &cItemsAllocated))
     466                    if (AddToList(outname, &files, &cFilesModified, &cItemsAllocated))
    471467                      Broadcast(hab2,
    472468                                wk->hwndCnr,
     
    572568                    goto Abort;
    573569                  if (ret == 1) {
    574                     if (//fSyncUpdates ||
    575                         AddToList(wk->li->list[x],
     570                    if (AddToList(wk->li->list[x],
    576571                                  &files, &cFilesModified, &cItemsAllocated))
    577572                      Broadcast(hab2,
     
    10941089              if (toupper(*wk->li->targetpath) < 'C' && !fAlertBeepOff)
    10951090                DosBeep(1000, 25);      // Wake up user
    1096               DosSleep(16);//05 Aug 07 GKY 33
     1091              DosSleep(16);
    10971092              if (wk->li->type == IDM_WPSMOVE || wk->li->type == IDM_WPSCOPY)
    1098                 DosSleep(48);//05 Aug 07 GKY 96
     1093                DosSleep(48);
    10991094              break;
    11001095            default:
     
    12981293              strcpy(szBuffer, wk->li->targetpath);
    12991294              AddBackslashToPath(wk->li->targetpath);
    1300               //if (wk->li->targetpath[strlen(wk->li->targetpath) - 1] != '\\')
    1301               //  strcat(szBuffer, "\\");
    13021295              p = szBuffer + strlen(szBuffer);
    13031296              for (x = 0; wk->li->list[x]; x++) {
     
    18361829                  AddNote(prompt);
    18371830                }
    1838                 if (//fSyncUpdates ||
    1839                     AddToList(wk->li->list[x], &files, &numfiles, &numalloc)) {
     1831                if (AddToList(wk->li->list[x], &files, &numfiles, &numalloc)) {
    18401832                  Broadcast(hab2,
    18411833                            wk->hwndCnr,
Note: See TracChangeset for help on using the changeset viewer.