Remove redundant HASH_SET_COPY macro and hfieldGetExpireTime declaration (#13991)

This commit is contained in:
Vitah Lin 2025-05-09 15:22:28 +08:00 committed by GitHub
parent 538713e622
commit 8148e4116e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -3458,7 +3458,6 @@ uint64_t hfieldGetExpireTime(hfield field);
static inline void hfieldFree(hfield field) { mstrFree(&mstrFieldKind, field); }
static inline void *hfieldGetAllocPtr(hfield field) { return mstrGetAllocPtr(&mstrFieldKind, field); }
static inline size_t hfieldlen(hfield field) { return mstrlen(field);}
uint64_t hfieldGetExpireTime(hfield field);
/* Pub / Sub */
int pubsubUnsubscribeAllChannels(client *c, int notify);

View File

@ -891,7 +891,6 @@ int hashTypeExists(redisDb *db, robj *o, sds field, int hfeFlags, int *isHashDel
#define HASH_SET_TAKE_FIELD (1<<0)
#define HASH_SET_TAKE_VALUE (1<<1)
#define HASH_SET_KEEP_TTL (1<<2)
#define HASH_SET_COPY 0
int hashTypeSet(redisDb *db, robj *o, sds field, sds value, int flags) {
int update = 0;