Skip to content

Commit 34cc5c0

Browse files
committed
dict: rename some variables
Clarify that they're not _hash_entry structs.
1 parent 0573b08 commit 34cc5c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/dicom-dict.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5169,21 +5169,21 @@ static const struct _DcmVRTable *vrtable_from_vr(const char *vr)
51695169

51705170
bool dcm_is_valid_vr(const char *str)
51715171
{
5172-
const struct _DcmVRTable *entry;
5172+
const struct _DcmVRTable *table;
51735173

51745174
return str &&
5175-
(entry = vrtable_from_vr(str)) &&
5176-
entry->vr != DCM_VR_ERROR;
5175+
(table = vrtable_from_vr(str)) &&
5176+
table->vr != DCM_VR_ERROR;
51775177
}
51785178

51795179

51805180
DcmVR dcm_dict_vr_from_str(const char *str)
51815181
{
5182-
const struct _DcmVRTable *entry;
5182+
const struct _DcmVRTable *table;
51835183

51845184
if (str &&
5185-
(entry = vrtable_from_vr(str))) {
5186-
return entry->vr;
5185+
(table = vrtable_from_vr(str))) {
5186+
return table->vr;
51875187
}
51885188

51895189
return DCM_VR_ERROR;

0 commit comments

Comments
 (0)