Skip to content
Snippets Groups Projects
Commit 62b0507b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

fileidexrec_t doesn't need to contain union

This served exactly no purpose (since the idxrec_t existed at the same
offset in both parts of the union). So this was just some weird artifact
from the new filebase development.
parent 10562789
No related branches found
No related tags found
No related merge requests found
......@@ -408,14 +408,9 @@ struct hash_info {
};
typedef struct { /* File index record */
union {
idxrec_t idx;
struct {
idxrec_t idx_; // only here for storage, no need to reference
char name[SMB_FILEIDX_NAMELEN + 1];
struct hash_info hash;
};
};
idxrec_t idx;
char name[SMB_FILEIDX_NAMELEN + 1];
struct hash_info hash;
} fileidxrec_t;
#define SIZEOF_SMB_FILEIDXREC_T 128
/* valid bits in hashflags_t */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment