Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at hostlist_table.c:264

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

hostlist_sort_column

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/hostlist_table.c)expand/collapse
Show more  
 249  hostlist_sort_column(GtkCList *clist, gconstpointer ptr1, gconstpointer ptr2)
 250  {
 251      char *text1 = NULL;
 252      char *text2 = NULL;
 253      guint64 i1, i2;
 254   
 255      const GtkCListRow *row1 = ptr1;
 256      const GtkCListRow *row2 = ptr2;
 257   
 258      text1 = GTK_CELL_TEXT (row1->cell[clist->sort_column])->text;
 259      text2 = GTK_CELL_TEXT (row2->cell[clist->sort_column])->text;
 260   
 261      if (clist->sort_column >= 2 && clist->sort_column <= 7) { /* Integers */
 262          sscanf(text1, "%" G_GINT64_MODIFIER "u", &i1);
 263          sscanf(text2, "%" G_GINT64_MODIFIER "u", &i2);
 264          if (i1 > i2) {
Show more  




Change Warning 4120.30051 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: