Wireshark-commits: [Wireshark-commits] rev 36339: /trunk/gtk/ /trunk/gtk/: new_packet_list.c

Date: Fri, 25 Mar 2011 22:35:31 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36339

User: sfisher
Date: 2011/03/25 03:35 PM

Log:
 Fix Coverity 331, 332, 333: Wrap the three remaining
 gtk_tree_selection_get_selected() calls with if(!..) return;
 like the rest of them.  These functions shouldn't be called
 unless a packet was selected, so this call should always return
 TRUE for success.

Directory: /trunk/gtk/
  Changes    Path                 Action
  +9 -3      new_packet_list.c    Modified