forked from osmocom/wireshark
Fix dead initialization error found by clang:
"Value stored to 's' during its initialization is never read" (it's assigned by a later g_hash_table_lookup call) svn path=/trunk/; revision=35983
This commit is contained in:
parent
f749439b71
commit
56d74752d1
|
@ -383,7 +383,7 @@ void add_attribute(const gchar* name, const gchar* codestr, radius_attr_dissect
|
|||
|
||||
void add_tlv(const gchar* name, const gchar* codestr, radius_attr_dissector_t type, const gchar* current_attr) {
|
||||
radius_attr_info_t* a;
|
||||
radius_attr_info_t* s = g_malloc(sizeof(radius_attr_info_t));
|
||||
radius_attr_info_t* s;
|
||||
guint32 code;
|
||||
|
||||
a = g_hash_table_lookup(dict->attrs_by_name, current_attr);
|
||||
|
|
Loading…
Reference in New Issue