forked from osmocom/wireshark
Removed "comparing an array to null", with no effect.
Coverity 533. svn path=/trunk/; revision=36280
This commit is contained in:
parent
aca69d699a
commit
0ae643e27d
|
@ -645,7 +645,8 @@ copy_selected_plist_cb(GtkWidget *w _U_, gpointer data _U_, COPY_SELECTED_E acti
|
|||
switch(action)
|
||||
{
|
||||
case COPY_SELECTED_DESCRIPTION:
|
||||
if (cfile.finfo_selected->rep->representation != 0) {
|
||||
if (cfile.finfo_selected->rep &&
|
||||
strlen (cfile.finfo_selected->rep->representation) > 0) {
|
||||
g_string_append(gtk_text_str, cfile.finfo_selected->rep->representation);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue