Ignore:
Timestamp:
Nov 12, 2013, 5:54:34 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: small code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/tdb/common/lock.c

    r783 r825  
    123123        APIRET      rc;
    124124        ULONG       fAccess = 0; // default exclusiv
    125         int         fLock = 1;   // default lock
    126         off_t       cbFile;
    127         off_t       offStart;
    128         off_t       cbRange;
    129125        FILELOCK    lockArea = {0}, unlockArea = {0}, unlockArea1 = {0};
    130126
     
    143139        {
    144140                case F_UNLCK:
    145                         fLock = 0;
    146141                        unlockArea.lOffset = off;
    147142                        unlockArea.lRange  = len ? len : tdb->header.hash_size *4; //was LONG_MAX
Note: See TracChangeset for help on using the changeset viewer.