Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at prefs_gui.c:602

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

fileopen_dir_changed_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/prefs_gui.c)expand/collapse
Show more  
 596  fileopen_dir_changed_cb(GtkWidget *fileopen_entry _U_, GdkEvent *event _U_, gpointer parent_w)
 597  {
 598          GtkWidget       *fileopen_dir_te;
 599          char *lastchar;
 600          gint fileopen_dir_te_length;
 601       
 602          fileopen_dir_te = (GtkWidget *)g_object_get_data(G_OBJECT(parent_w), GUI_FILEOPEN_DIR_KEY);
 603          fileopen_dir_te_length = (gint) strlen(gtk_entry_get_text (GTK_ENTRY(fileopen_entry)));
 604          if (fileopen_dir_te_length == 0)
 605                  return FALSE;
 606          lastchar = gtk_editable_get_chars(GTK_EDITABLE(fileopen_entry), fileopen_dir_te_length-1, -1);
 607          if (strcmp(lastchar, G_DIR_SEPARATOR_S) != 0)
 608                  gtk_entry_append_text(GTK_ENTRY(fileopen_entry), G_DIR_SEPARATOR_S);
 609          return FALSE;
 610  }
Show more  




Change Warning 4225.29873 : Unused Value

Priority:
State:
Finding:
Owner:
Note: